tazwok rev 69

fix EXTRAVERSION for cmp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 16 19:36:17 2008 +0000 (2008-06-16)
parents 78ecb1b4eb61
children d7273d1d7bbc
files tazwok
line diff
     1.1 --- a/tazwok	Sun Jun 15 18:37:56 2008 +0000
     1.2 +++ b/tazwok	Mon Jun 16 19:36:17 2008 +0000
     1.3 @@ -400,7 +400,7 @@
     1.4  	# Remove old Tazwok package files.
     1.5  	if [ -d "taz" ]; then
     1.6  		rm -rf taz
     1.7 -		rm -f $PACKAGES_REPOSITORY/$PACKAGE-$VERSION.tazpkg
     1.8 +		rm -f $PACKAGES_REPOSITORY/$PACKAGE-$VERSION$EXTRAVERSION.tazpkg
     1.9  	fi
    1.10  	# Creat the package tree and set usful variables.
    1.11  	mkdir -p taz/$PACKAGE-$VERSION/fs
    1.12 @@ -482,7 +482,7 @@
    1.13  	zcat fs.cpio.gz | cpio -id
    1.14  	rm fs.cpio.gz && cd ..
    1.15  	# Log process.
    1.16 -	echo "$PACKAGE-$VERSION.tazpkg (done)" >> $LOG
    1.17 +	echo "$PACKAGE-$VERSION$EXTRAVERSION.tazpkg (done)" >> $LOG
    1.18  	echo "================================================================================"
    1.19  	echo "Package $PACKAGE ($VERSION$EXTRAVERSION) generated."
    1.20  	echo "Size : `du -sh $PACKAGES_REPOSITORY/$PACKAGE-$VERSION$EXTRAVERSION.tazpkg`"
    1.21 @@ -568,9 +568,9 @@
    1.22  		for pkg in $WOK/*
    1.23  		do
    1.24  			. $pkg/receipt
    1.25 -			echo "$PACKAGE-$VERSION.tazpkg" >> /tmp/wok.list
    1.26 -			if [ ! -f $PACKAGES_REPOSITORY/$PACKAGE-$VERSION.tazpkg ]; then
    1.27 -				echo "Missing package: $PACKAGE ($VERSION)"
    1.28 +			echo "$PACKAGE-$VERSION$EXTRAVERSION.tazpkg" >> /tmp/wok.list
    1.29 +			if [ ! -f $PACKAGES_REPOSITORY/$PACKAGE-$VERSION$EXTRAVERSION.tazpkg ]; then
    1.30 +				echo "Missing package: $PACKAGE ($VERSION$EXTRAVERSION)"
    1.31  				echo "$PACKAGE" >> /tmp/pkgs.missing
    1.32  			fi
    1.33  		done