tazwok rev 230

Fixed SRC_WANTED. This is so SOURCE is used when its needs to be used.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 05 02:43:50 2011 +0000 (2011-02-05)
parents 929e93c457c3
children ba5ba03929f9
files tazwok
line diff
     1.1 --- a/tazwok	Fri Feb 04 22:42:04 2011 +0000
     1.2 +++ b/tazwok	Sat Feb 05 02:43:50 2011 +0000
     1.3 @@ -424,7 +424,11 @@
     1.4  check_for_tarball()
     1.5  {
     1.6  	if [ "$SRC_WANTED" ]; then
     1.7 -		tazwok get-src "$SRC_WANTED" --target=$WOK/$PACKAGE/$PACKAGE-$VERSION ${nounpack:+--nounpack} || return 1
     1.8 +		if [ "$SOURCE" ]; then
     1.9 +			tazwok get-src "$SRC_WANTED"  --target=$WOK/$PACKAGE/$SOURCE-$VERSION ${nounpack:+--nounpack} || return 1
    1.10 +		else
    1.11 +			tazwok get-src "$SRC_WANTED" --target=$WOK/$PACKAGE/$PACKAGE-$VERSION ${nounpack:+--nounpack} || return 1
    1.12 +		fi
    1.13  		return
    1.14  	fi
    1.15  	if [ "$WGET_URL" ]; then