diff options
author | Ryan Bloom <rbb@apache.org> | 2001-04-15 02:44:44 +0200 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2001-04-15 02:44:44 +0200 |
commit | 041f62933c3c82d4bab98bde6371b4177ca83626 (patch) | |
tree | 929bb825b2eb8bf0d67c39bec588780f8ddb85cf /build | |
parent | If mod_dav is not enabled, then don't enable mod_dav_fs. (diff) | |
download | apache2-041f62933c3c82d4bab98bde6371b4177ca83626.tar.xz apache2-041f62933c3c82d4bab98bde6371b4177ca83626.zip |
Fix the binbuild.sh script so that it works correctly on Linux again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88865 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rwxr-xr-x | build/binbuild.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/build/binbuild.sh b/build/binbuild.sh index e78a0cc415..36192c3afa 100755 --- a/build/binbuild.sh +++ b/build/binbuild.sh @@ -10,7 +10,7 @@ OS=`./config.guess` CONFIGPARAM="--with-layout=BinaryDistribution --prefix=`pwd`/bindist" APDIR=`pwd` APDIR=`basename $APDIR` -VER=`echo $APDIR |sed s/apache_//` +VER=`echo $APDIR |sed s/httpd-//` TAR="`srclib/apr/build/PrintPath tar`" GTAR="`srclib/apr/build/PrintPath gtar`" GZIP="`srclib/apr/build/PrintPath gzip`" @@ -97,7 +97,7 @@ echo "Creating supplementary files..." ./bindist/bin/httpd -V && \ echo "----------------------------------------------------------------------" \ ) > README.bindist -cp README.bindist ../apache_$VER-$OS.README +cp README.bindist ../httpd-$VER-$OS.README ( echo " " && \ echo "Apache $VER binary installation" && \ @@ -263,31 +263,31 @@ then else if [ "x$GTAR" != "x" ] then - $GTAR -zcf ../apache_$VER-$OS.tar.gz -C .. apache_$VER + $GTAR -zcf ../httpd-$VER-$OS.tar.gz -C .. httpd-$VER else if [ "x$TAR" != "x" ] then case "x$OS" in - x*390*) $TAR -cfU ../apache_$VER-$OS.tar -C .. apache_$VER;; - *) (cd .. && $TAR -cf apache_$VER-$OS.tar apache_$VER);; + x*390*) $TAR -cfU ../httpd-$VER-$OS.tar -C .. httpd-$VER;; + *) (cd .. && $TAR -cf httpd-$VER-$OS.tar httpd-$VER);; esac if [ "x$GZIP" != "x" ] then - $GZIP ../apache_$VER-$OS.tar + $GZIP ../httpd-$VER-$OS.tar fi else echo "ERROR: Could not find a 'tar' program!" echo " Please execute the following commands manually:" - echo " tar -cf ../apache_$VER-$OS.tar ." - echo " gzip ../apache_$VER-$OS.tar" + echo " tar -cf ../httpd-$VER-$OS.tar ." + echo " gzip ../httpd-$VER-$OS.tar" fi fi - if [ -f ../apache_$VER-$OS.tar.gz ] && [ -f ../apache_$VER-$OS.README ] + if [ -f ../httpd-$VER-$OS.tar.gz ] && [ -f ../httpd-$VER-$OS.README ] then echo "Ready." - echo "You can find the binary archive (apache_$VER-$OS.tar.gz)" - echo "and the readme file (apache_$VER-$OS.README) in the" + echo "You can find the binary archive (httpd-$VER-$OS.tar.gz)" + echo "and the readme file (httpd-$VER-$OS.README) in the" echo "parent directory." exit 0; else |