From: Wilfredo Sanchez Date: Mon, 25 Nov 2002 04:25:18 +0000 (+0000) Subject: Put then on the if line X-Git-Tag: pre_ajp_proxy~2558 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9ab9fbe3dac3d6e2923f8b72a8fce7389d1638a;p=apache Put then on the if line git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97636 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/binbuild.sh b/build/binbuild.sh index dd712e2952..2d580fc478 100755 --- a/build/binbuild.sh +++ b/build/binbuild.sh @@ -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"