]> granicus.if.org Git - apache/commitdiff
Put then on the if line
authorWilfredo Sanchez <wsanchez@apache.org>
Mon, 25 Nov 2002 04:25:18 +0000 (04:25 +0000)
committerWilfredo Sanchez <wsanchez@apache.org>
Mon, 25 Nov 2002 04:25:18 +0000 (04:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97636 13f79535-47bb-0310-9956-ffa450edef68

build/binbuild.sh

index dd712e2952371bcf51220606141895d2c46a5213..2d580fc47855046953bd76353384ae30add07a46 100755 (executable)
@@ -23,8 +23,7 @@ else
   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 @@ then
   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 "Platform is \"$OS\"..."
   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 @@ done
 
 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 @@ else
     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"