Skip to content
Browse files

Avoid relying on non-standard tar `z' option.

Turn on best compression for creating the archive.
  • Loading branch information...
1 parent 2df8e73 commit 679bcde68b90546ca6dfca7d5b98925e1521530b Sascha Schumann committed May 7, 2000
Showing with 4 additions and 3 deletions.
  1. +4 −3 makedist
View
7 makedist
@@ -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

0 comments on commit 679bcde

Please sign in to comment.
Something went wrong with that request. Please try again.