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-Tag: pre_ajp_proxy~2556 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80278e1bd9dd269ff8d86e7780bd2e607446c18f;p=apache 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 54908d4496..d5f5f5e574 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;