tazwok rev 482

tazwok, check_for_tarball(): fix a bug which prevented to unpack sources in some cases
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Apr 07 19:01:55 2011 +0200 (2011-04-07)
parents 137774577ccb
children 2e688470b0e5 a99465ca9b36
files tazwok
line diff
     1.1 --- a/tazwok	Thu Apr 07 18:55:45 2011 +0200
     1.2 +++ b/tazwok	Thu Apr 07 19:01:55 2011 +0200
     1.3 @@ -441,9 +441,9 @@
     1.4  {
     1.5  	[ "$WGET_URL" ] || return 0
     1.6  	[ "$WANTED" ] || return 0
     1.7 +	report step "Checking for source tarball: $PACKAGE"
     1.8 +	local repack_src=$repack_src TARBALL=$TARBALL local nounpack=$nounpack
     1.9  	look_for_cookopt !unpack && nounpack=yes
    1.10 -	report step "Checking for source tarball: $PACKAGE"
    1.11 -	local repack_src=$repack_src TARBALL=$TARBALL
    1.12  	if [ "$repack_src" = yes ] && look_for_cookopt !repack_src; then
    1.13  			repack_src=no
    1.14  	fi