cookutils rev 950
cook: dot command may not search current directory first
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 23 12:35:12 2017 +0200 (2017-07-23) |
parents | 48b237fbb760 |
children | 4e8c86306ce2 |
files | cook |
line diff
1.1 --- a/cook Thu Jul 20 05:07:33 2017 +0300 1.2 +++ b/cook Sun Jul 23 12:35:12 2017 +0200 1.3 @@ -1073,7 +1073,7 @@ 1.4 for testpkg in $(ls $PKGS/$PACKAGE-*.tazpkg 2>/dev/null); do 1.5 # Extract receipt from each matched package 1.6 cpio -F "$testpkg" -i receipt >/dev/null 2>&1 1.7 - name=$(. receipt; echo $PACKAGE) 1.8 + name=$(. ./receipt; echo $PACKAGE) 1.9 rm receipt 1.10 if [ "$name" == "$PACKAGE" ]; then 1.11 action 'Removing old package "%s"' "$(basename "$testpkg")" 1.12 @@ -1802,7 +1802,7 @@ 1.13 # Source cooked pkg receipt to get EXTRAVERSION 1.14 if [ -d "$WOK/$pkg/taz" ]; then 1.15 cd $WOK/$pkg/taz/$pkg-* 1.16 - . receipt; cd $WOK 1.17 + . ./receipt; cd $WOK 1.18 fi 1.19 case "$ARCH" in 1.20 i486)