# HG changeset patch # User Antoine Bodin # Date 1297547182 -3600 # Node ID 533899c4372c2ba008c885ce789c74b408f21b39 # Parent e8d822c062a1462fc9d4c3f7562c6f3642d91ad0 check_for_tarball(): Don't keep TARBALL if it can't be handle by tazwok (in most case it's download error/killed). diff -r e8d822c062a1 -r 533899c4372c tazwok --- a/tazwok Sat Feb 12 22:42:38 2011 +0100 +++ b/tazwok Sat Feb 12 22:46:22 2011 +0100 @@ -521,7 +521,7 @@ mkdir $tmp_src/${SOURCE:-$PACKAGE}-$VERSION cp $SOURCES_REPOSITORY/$TARBALL $tmp_src/${SOURCE:-$PACKAGE}-$VERSION ;; - esac || return 1 + esac || { rm -f $TABRALL && return 1; } # Check if uncompressed tarball is in a root dir or not. if [ "$(ls -A $tmp_src | wc -l)" -gt 1 ]; then