From c01d6103474fe99f285abe8c5188276a388b9c14 Mon Sep 17 00:00:00 2001 From: Wilfredo Sanchez Date: Mon, 25 Nov 2002 04:28:33 +0000 Subject: [PATCH] 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 --- build/binbuild.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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; -- 2.40.0