diff options
author | Wilfredo Sanchez <wsanchez@apache.org> | 2002-11-25 04:28:33 +0000 |
---|---|---|
committer | Wilfredo Sanchez <wsanchez@apache.org> | 2002-11-25 04:28:33 +0000 |
commit | 80278e1bd9dd269ff8d86e7780bd2e607446c18f (patch) | |
tree | c59f3db184f12c50e428cbe9527e10d14676dc09 /build/binbuild.sh | |
parent | aa875510b67371765580dd2c93a12feed0179eef (diff) | |
download | httpd-80278e1bd9dd269ff8d86e7780bd2e607446c18f.tar.gz |
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
Diffstat (limited to 'build/binbuild.sh')
-rwxr-xr-x | build/binbuild.sh | 6 |
1 files 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; |