# HG changeset patch # User Antoine Bodin # Date 1302195345 -7200 # Node ID 137774577ccbae8b47c88377ce65836dff20e445 # Parent 94cf0dd0c49031343decc35846e0ae0af6173a6b tazwok, check_for_tarball(): tiny improvement diff -r 94cf0dd0c490 -r 137774577ccb tazwok --- a/tazwok Mon Apr 04 03:10:40 2011 +0200 +++ b/tazwok Thu Apr 07 18:55:45 2011 +0200 @@ -440,6 +440,7 @@ check_for_tarball() { [ "$WGET_URL" ] || return 0 + [ "$WANTED" ] || return 0 look_for_cookopt !unpack && nounpack=yes report step "Checking for source tarball: $PACKAGE" local repack_src=$repack_src TARBALL=$TARBALL @@ -477,13 +478,6 @@ return 0 fi - # Untaring source if necessary. We don't need to extract source if - # the package is built with a wanted source package. - if [ "$WANTED" ]; then - [ -d "$tmp_src" ] && rm -r $tmp_src - return - fi - report step "Untaring source tarball" # Log process. @@ -1024,7 +1018,7 @@ # Set $src for standard package and $_pkg variables. set_src_path set_pkg_path - + # Execute genpkg_rules, check package and copy generic files to build # the package. report step "Building $PACKAGE with the receipt"