# HG changeset patch # User Christopher Rogers # Date 1296873830 0 # Node ID eb670d752922e85dbbe257b83bdff7f99eea44e4 # Parent 929e93c457c365593d730e5dd08cc4ffdfb77ab3 Fixed SRC_WANTED. This is so SOURCE is used when its needs to be used. diff -r 929e93c457c3 -r eb670d752922 tazwok --- a/tazwok Fri Feb 04 22:42:04 2011 +0000 +++ b/tazwok Sat Feb 05 02:43:50 2011 +0000 @@ -424,7 +424,11 @@ check_for_tarball() { if [ "$SRC_WANTED" ]; then - tazwok get-src "$SRC_WANTED" --target=$WOK/$PACKAGE/$PACKAGE-$VERSION ${nounpack:+--nounpack} || return 1 + if [ "$SOURCE" ]; then + tazwok get-src "$SRC_WANTED" --target=$WOK/$PACKAGE/$SOURCE-$VERSION ${nounpack:+--nounpack} || return 1 + else + tazwok get-src "$SRC_WANTED" --target=$WOK/$PACKAGE/$PACKAGE-$VERSION ${nounpack:+--nounpack} || return 1 + fi return fi if [ "$WGET_URL" ]; then