diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2008-09-05 09:51:29 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-09-07 21:53:18 -0400 |
commit | a6c408b691b48ff482de91a1f714dfeb8e196246 (patch) | |
tree | 629d943fb9d0bf6d2bc3b847823f2616a69bd93f /util | |
parent | 01de35a6d9824ef2fcdb72c13ac28bc84f36851f (diff) | |
download | e2fsprogs-a6c408b691b48ff482de91a1f714dfeb8e196246.tar.gz |
Print size of resulting .tar.gz file.
Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'util')
-rw-r--r-- | util/gen-tarball.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/gen-tarball.in b/util/gen-tarball.in index e550e2cb..a1bcaaf4 100644 --- a/util/gen-tarball.in +++ b/util/gen-tarball.in @@ -8,6 +8,7 @@ top_dir=`cd $top_srcdir; pwd` base_ver=`echo @E2FSPROGS_VERSION@ | sed -e 's/-WIP//' -e 's/pre-//' -e 's/-PLUS//'` base_e2fsprogs=`basename $top_dir` exclude=/tmp/exclude +GZIP=gzip # # This hack is needed because texi2dvi blows up horribly if there are @@ -45,7 +46,8 @@ sed -e "s;^;$SRCROOT/;" < $srcdir/$list.exclude >> $exclude (cd $top_srcdir/.. ; rm -f $SRCROOT ; ln -sf e2fsprogs $SRCROOT) (cd $top_srcdir/.. ; tar -c -h -v -f - -X $exclude $SRCROOT) \ - | gzip -9 > $SRCROOT.tar.gz + | $GZIP -9 -c > $SRCROOT.tar.gz +$GZIP -l $SRCROOT.tar.gz (cd $top_srcdir/.. ; rm -f $SRCROOT) mv $top_srcdir/e2fsprogs.spec ../e2fsprogs.spec |