wok diff get-upx/stuff/get-upx @ rev 4389

mbclient, fix DEPENDS
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Oct 15 19:45:07 2009 +0000 (2009-10-15)
parents a85ffe1b42a5
children 007b91d3da0b
line diff
     1.1 --- a/get-upx/stuff/get-upx	Wed Nov 26 11:51:02 2008 +0000
     1.2 +++ b/get-upx/stuff/get-upx	Thu Oct 15 19:45:07 2009 +0000
     1.3 @@ -25,6 +25,12 @@
     1.4  
     1.5  # Download tarball
     1.6  wget $WGET_URL
     1.7 +if [ ! -f $TARBALL ]; then
     1.8 +	cd $BASE
     1.9 +	rm -rf $DIR
    1.10 +	echo "Could not download $TARBALL. Exiting."
    1.11 +	exit 1
    1.12 +fi
    1.13  
    1.14  # Extract
    1.15  tar xjf $TARBALL