lars 99/03/16 15:46:03
Modified: src/helpers binbuild.sh Log: Oops... Revision Changes Path 1.7 +10 -10 apache-1.3/src/helpers/binbuild.sh Index: binbuild.sh =================================================================== RCS file: /export/home/cvs/apache-1.3/src/helpers/binbuild.sh,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- binbuild.sh 1999/01/16 22:00:46 1.6 +++ binbuild.sh 1999/03/16 23:46:02 1.7 @@ -9,7 +9,7 @@ APDIR=`pwd` APDIR=`basename $APDIR` -VER=`echo $APDIR |sed s/apache-//` +VER=`echo $APDIR |sed s/apache_//` OS=`src/helpers/GuessOS` USER="`src/helpers/buildinfo.sh -n [EMAIL PROTECTED]" TAR="`src/helpers/PrintPath tar`" @@ -90,7 +90,7 @@ ./bindist/bin/httpd -V && \ echo "----------------------------------------------------------------------" \ ) > README.bindist -cp README.bindist ../apache-$VER-$OS.README +cp README.bindist ../apache_$VER-$OS.README ( echo " " && \ echo "Apache $VER binary installation" && \ @@ -192,28 +192,28 @@ else if [ "x$GTAR" != "x" ] then - $GTAR -zcf ../apache-$VER-$OS.tar.gz -C .. --owner=root --group=root apache-$VER + $GTAR -zcf ../apache_$VER-$OS.tar.gz -C .. --owner=root --group=root apache_$VER else if [ "x$TAR" != "x" ] then - $TAR -cf ../apache-$VER-$OS.tar -C .. apache-$VER + $TAR -cf ../apache_$VER-$OS.tar -C .. apache_$VER if [ "x$GZIP" != "x" ] then - $GZIP ../apache-$VER-$OS.tar + $GZIP ../apache_$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 ../apache_$VER-$OS.tar ." + echo " gzip ../apache_$VER-$OS.tar" fi fi - if [ -f ../apache-$VER-$OS.tar.gz ] && [ -f ../apache-$VER-$OS.README ] + if [ -f ../apache_$VER-$OS.tar.gz ] && [ -f ../apache_$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 (apache_$VER-$OS.tar.gz)" + echo "and the readme file (apache_$VER-$OS.README) in the" echo "parent directory." exit 0; else