From: Wilfredo Sanchez Date: Mon, 25 Nov 2002 04:28:33 +0000 (+0000) Subject: Don't crap out if we couldn't gzip the file. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c01d6103474fe99f285abe8c5188276a388b9c14;p=thirdparty%2Fapache%2Fhttpd.git Don't crap out if we couldn't gzip the file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97638 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/binbuild.sh b/build/binbuild.sh index 54908d44960..d5f5f5e574a 100755 --- a/build/binbuild.sh +++ b/build/binbuild.sh @@ -151,10 +151,12 @@ else esac if [ "x$GZIP" != "x" ]; then $GZIP -9 ../httpd-$VER-$OS.tar + ARCHIVE=../httpd-$VER-$OS.tar.gz else echo "WARNING: Could not find a 'gzip' program!" echo " Please execute the following command manually:" echo " gzip -9 ../httpd-$VER-$OS.tar" + ARCHIVE=../httpd-$VER-$OS.tar fi else echo "ERROR: Could not find a 'tar' program!" @@ -163,9 +165,9 @@ else echo " gzip -9 ../httpd-$VER-$OS.tar" fi - if [ -f ../httpd-$VER-$OS.tar.gz ] && [ -f ../httpd-$VER-$OS.README ]; then + if [ -f $ARCHIVE ] && [ -f ../httpd-$VER-$OS.README ]; then echo "Ready." - echo "You can find the binary archive (httpd-$VER-$OS.tar.gz)" + echo "You can find the binary archive ($ARCHIVE)" echo "and the readme file (httpd-$VER-$OS.README) in the" echo "parent directory." exit 0;