# HG changeset patch # User Christophe Lincoln # Date 1304944059 -7200 # Node ID 67b07b353191ed4589c26304b3246e0c32ebe78a # Parent 52f9d94faf88565248e510b34d22f5f5bf2c3586 cooker: fix for command all, unset EXTRAVERSIOn and look if a more recnet receipt exist in taz/ diff -r 52f9d94faf88 -r 67b07b353191 cooker --- a/cooker Mon May 09 14:02:11 2011 +0200 +++ b/cooker Mon May 09 14:27:39 2011 +0200 @@ -348,13 +348,19 @@ echo "Cooker cooklist" separator - # Find all unbuilt packages. + # Find all unbuilt packages. Get EXTRAVERSION from packed receipt + # if exist since extra version is add when packing the package. echo "Searching for all unbuilt packages" | log for pkg in * do + unset EXTRAVERSION . $pkg/receipt - [ ! -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ] && \ - echo $pkg >> $cooklist + [ -f "$pkg/taz/$PACKAGE-$VERSION/receipt" ] && \ + . $pkg/taz/$PACKAGE-$VERSION/receipt + if [ ! -f "$PKGS/$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg" ] + then + echo $pkg && echo $pkg >> $cooklist + fi done strip_blocked