cookutils diff cook @ rev 346

Added tag 1.8 for changeset 48d0744cb523
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 13:41:05 2012 +0200 (2012-04-05)
parents 4f9d23e13883
children ce7d26144786
line diff
     1.1 --- a/cook	Sun Mar 18 00:57:01 2012 +0000
     1.2 +++ b/cook	Thu Apr 05 13:41:05 2012 +0200
     1.3 @@ -472,7 +472,7 @@
     1.4  				# Try local package first. In some cases implicit doesn't exist, ex:
     1.5  				# libboost-dev exists but not libboost, so check if we got vers.
     1.6  				unset vers
     1.7 -				vers=$(grep ^VERSION= $WOK/$i/receipt 2>/dev/null | cut -d '"' -f 2)
     1.8 +				vers=$(. $WOK/$i/receipt 2>/dev/null ; echo $VERSION)
     1.9  				if [ -f "$PKGS/$i-$vers.tazpkg" ]; then
    1.10  					echo $i-$vers.tazpkg >> $CACHE/installed.local
    1.11  				else