cookutils rev 118
cooker: fix for command all, unset EXTRAVERSIOn and look if a more recnet receipt exist in taz/
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 14:27:39 2011 +0200 (2011-05-09) |
parents | 52f9d94faf88 |
children | 7fdec10b7fe2 |
files | cooker |
line diff
1.1 --- a/cooker Mon May 09 14:02:11 2011 +0200 1.2 +++ b/cooker Mon May 09 14:27:39 2011 +0200 1.3 @@ -348,13 +348,19 @@ 1.4 echo "Cooker cooklist" 1.5 separator 1.6 1.7 - # Find all unbuilt packages. 1.8 + # Find all unbuilt packages. Get EXTRAVERSION from packed receipt 1.9 + # if exist since extra version is add when packing the package. 1.10 echo "Searching for all unbuilt packages" | log 1.11 for pkg in * 1.12 do 1.13 + unset EXTRAVERSION 1.14 . $pkg/receipt 1.15 - [ ! -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ] && \ 1.16 - echo $pkg >> $cooklist 1.17 + [ -f "$pkg/taz/$PACKAGE-$VERSION/receipt" ] && \ 1.18 + . $pkg/taz/$PACKAGE-$VERSION/receipt 1.19 + if [ ! -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ] 1.20 + then 1.21 + echo $pkg && echo $pkg >> $cooklist 1.22 + fi 1.23 done 1.24 1.25 strip_blocked