]> granicus.if.org Git - apache/commitdiff
Don't crap out if we couldn't gzip the file.
authorWilfredo Sanchez <wsanchez@apache.org>
Mon, 25 Nov 2002 04:28:33 +0000 (04:28 +0000)
committerWilfredo Sanchez <wsanchez@apache.org>
Mon, 25 Nov 2002 04:28:33 +0000 (04:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97638 13f79535-47bb-0310-9956-ffa450edef68

build/binbuild.sh

index 54908d44960d4a93f24121a66edfe43172bd8f44..d5f5f5e574addf36f8cc931d1751ba975e2cfecd 100755 (executable)
@@ -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;