diff options
author | Sascha Schumann <sas@php.net> | 2000-05-07 00:18:06 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-07 00:18:06 +0000 |
commit | 679bcde68b90546ca6dfca7d5b98925e1521530b (patch) | |
tree | 17bb7295290f3584a05b86391322119b2d94e081 | |
parent | 2df8e7341e570e7aec31495b24b4c9b8f9e2336e (diff) | |
download | php-git-679bcde68b90546ca6dfca7d5b98925e1521530b.tar.gz |
Avoid relying on non-standard tar `z' option.
Turn on best compression for creating the archive.
-rwxr-xr-x | makedist | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -54,7 +54,7 @@ VER=$1 ; shift 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 @@ done 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 |