httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsanc...@apache.org
Subject cvs commit: httpd-2.0/build binbuild.sh
Date Mon, 25 Nov 2002 04:28:33 GMT
wsanchez    2002/11/24 20:28:33

  Modified:    build    binbuild.sh
  Log:
  Don't crap out if we couldn't gzip the file.
  
  Revision  Changes    Path
  1.44      +4 -2      httpd-2.0/build/binbuild.sh
  
  Index: binbuild.sh
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/binbuild.sh,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- binbuild.sh	25 Nov 2002 04:26:54 -0000	1.43
  +++ binbuild.sh	25 Nov 2002 04:28:33 -0000	1.44
  @@ -151,10 +151,12 @@
       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 @@
       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;
  
  
  

Mime
View raw message