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:32:31 GMT
wsanchez    2002/11/24 20:32:31

  Modified:    build    binbuild.sh
  Log:
  No gzip? Try compress.
  
  Revision  Changes    Path
  1.45      +5 -2      httpd-2.0/build/binbuild.sh
  
  Index: binbuild.sh
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/binbuild.sh,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- binbuild.sh	25 Nov 2002 04:28:33 -0000	1.44
  +++ binbuild.sh	25 Nov 2002 04:32:31 -0000	1.45
  @@ -16,6 +16,7 @@
   VER=`echo $APDIR | sed s/httpd-//`
   TAR="`srclib/apr/build/PrintPath tar`"
   GZIP="`srclib/apr/build/PrintPath gzip`"
  +COMPRESS="`srclib/apr/build/PrintPath compress`"
   
   if [ x$1 != x ]; then
     USER=$1
  @@ -152,10 +153,12 @@
       if [ "x$GZIP" != "x" ]; then
         $GZIP -9 ../httpd-$VER-$OS.tar
         ARCHIVE=../httpd-$VER-$OS.tar.gz
  +    elif [ "x$COMPRESS" != "x" ]; then
  +      $COMPRESS ../httpd-$VER-$OS.tar
  +      ARCHIVE=../httpd-$VER-$OS.tar.Z
       else
         echo "WARNING: Could not find a 'gzip' program!"
  -      echo "       Please execute the following command manually:"
  -      echo "         gzip -9 ../httpd-$VER-$OS.tar"
  +      echo "       tar archive is not compressed."
         ARCHIVE=../httpd-$VER-$OS.tar
       fi
     else
  
  
  

Mime
View raw message