cvs: /php4 makedist

From: Date: Sun, 07 May 2000 00:18:06 +0000
Subject: cvs: /php4 makedist
Groups: php.version4 
Request: Send a blank email to php-version4+get-14625@lists.php.net to get a copy of this message
sas Sat May 6 17:18:06 2000 EDT Modified files: /php4 makedist Log: Avoid relying on non-standard tar `z' option. Turn on best compression for creating the archive. Index: php4/makedist diff -u php4/makedist:1.16 php4/makedist:1.17 --- php4/makedist:1.16 Thu May 4 10:52:14 2000 +++ php4/makedist Sat May 6 17:18:06 2000 @@ -24,7 +24,7 @@ # # Written by Stig Bakken <ssb@guardian.no> 1997-05-28. # -# $Id: makedist,v 1.16 2000/05/04 17:52:14 andrei Exp $ +# $Id: makedist,v 1.17 2000/05/07 00:18:06 sas Exp $ # PHPROOT=:pserver:cvsread@cvs.php.net:/repository @@ -54,7 +54,7 @@ MY_OLDPWD=pwd # the destination .tar.gz file -ARCHIVE=$MY_OLDPWD/$PKG-$VER.tar.gz +ARCHIVE=$MY_OLDPWD/$PKG-$VER.tar # temporary directory used to check out files from CVS DIR=$PKG-$VER @@ -127,11 +127,12 @@ cd $MY_OLDPWD $ECHO_N "makedist: making gzipped tar archive...$ECHO_C" -tar czf $ARCHIVE $PKG-$VER || exit 8 +tar cf $ARCHIVE $PKG-$VER || exit 8 +gzip -9 $ARCHIVE || exit 9 echo "" $ECHO_N "makedist: cleaning up...$ECHO_C" -rm -rf $DIRPATH || exit 9 +rm -rf $DIRPATH || exit 10 echo "" exit 0

« previous php.version4 (#14625) next »