From: Wilfredo Sanchez Date: Mon, 25 Nov 2002 04:32:31 +0000 (+0000) Subject: No gzip? Try compress. X-Git-Tag: pre_ajp_proxy~2555 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8511af4cbe815740d38010b776f15aa995259aff;p=apache No gzip? Try compress. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97639 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/binbuild.sh b/build/binbuild.sh index d5f5f5e574..191c28f89c 100755 --- a/build/binbuild.sh +++ b/build/binbuild.sh @@ -16,6 +16,7 @@ CONFIGPARAM="--enable-layout=Apache --prefix=$BUILD_DIR --enable-mods-shared=mos 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 @@ else 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