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

  Modified:    build    binbuild.sh
  Log:
  Put then on the if line
  
  Revision  Changes    Path
  1.42      +7 -14     httpd-2.0/build/binbuild.sh
  
  Index: binbuild.sh
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/build/binbuild.sh,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- binbuild.sh	25 Nov 2002 04:17:11 -0000	1.41
  +++ binbuild.sh	25 Nov 2002 04:25:18 -0000	1.42
  @@ -23,8 +23,7 @@
     USER="`build/buildinfo.sh -n %u@%h%d`"
   fi
   
  -if [ ! -f ./ABOUT_APACHE ]
  -then
  +if [ ! -f ./ABOUT_APACHE ]; then
     echo "ERROR: The current directory contains no valid Apache distribution."
     echo "Please change the directory to the top level directory of a freshly"
     echo "unpacked Apache 2.0 source distribution and re-execute the script"
  @@ -32,8 +31,7 @@
     exit 1;
   fi
   
  -if [ -d ./CVS ]
  -then
  +if [ -d ./CVS ]; then
     echo "ERROR: The current directory is a CVS checkout of Apache."
     echo "Only a standard Apache 2.0 source distribution should be used to"
     echo "create a binary distribution."
  @@ -59,8 +57,7 @@
     echo "[EOF]" \
   ) 2>&1 | tee build.log
   
  -if [ ! -f ./bindist/bin/httpd ]
  -then
  +if [ ! -f ./bindist/bin/httpd ]; then
     echo "ERROR: Failed to build Apache. See \"build.log\" for details."
     exit 1;
   fi
  @@ -143,19 +140,16 @@
   
   echo "Creating distribution archive and readme file..."
    
  -if [ ".`grep -i error build.log > /dev/null`" != . ]
  -then
  +if [ ".`grep -i error build.log > /dev/null`" != . ]; then
     echo "ERROR: Failed to build Apache. See \"build.log\" for details."
     exit 1;
   else
  -  if [ "x$TAR" != "x" ]
  -  then
  +  if [ "x$TAR" != "x" ]; then
       case "x$OS" in
         x*os390*) $TAR -cfU ../httpd-$VER-$OS.tar -C .. httpd-$VER;;
         *) (cd .. && $TAR -cf httpd-$VER-$OS.tar httpd-$VER);;
       esac
  -    if [ "x$GZIP" != "x" ]
  -    then
  +    if [ "x$GZIP" != "x" ]; then
         $GZIP -9 ../httpd-$VER-$OS.tar
       else
         echo "WARNING: Could not find a 'gzip' program!"
  @@ -169,8 +163,7 @@
       echo "         gzip -9 ../httpd-$VER-$OS.tar"
     fi
   
  -  if [ -f ../httpd-$VER-$OS.tar.gz ] && [ -f ../httpd-$VER-$OS.README ]
  -  then
  +  if [ -f ../httpd-$VER-$OS.tar.gz ] && [ -f ../httpd-$VER-$OS.README ]; then
       echo "Ready."
       echo "You can find the binary archive (httpd-$VER-$OS.tar.gz)"
       echo "and the readme file (httpd-$VER-$OS.README) in the"
  
  
  

Mime
View raw message