diff options
author | Nils Gillmann <gillmann@gnunet.org> | 2018-04-22 19:24:01 +0000 |
---|---|---|
committer | Nils Gillmann <gillmann@gnunet.org> | 2018-04-22 19:24:01 +0000 |
commit | e4031072e95c57399423f256d5c1cd9c3634a557 (patch) | |
tree | 6075448f1bae34342c7fb20ffe754056015518f7 /maketgz | |
parent | 2aa68f1acc2d22b41fb428cc4d6c2bbf89422cbe (diff) | |
download | gnurl-e4031072e95c57399423f256d5c1cd9c3634a557.tar.gz gnurl-e4031072e95c57399423f256d5c1cd9c3634a557.tar.bz2 gnurl-e4031072e95c57399423f256d5c1cd9c3634a557.zip |
Adjust maketgz script to only spit out tar.Z and tar.gz
Signed-off-by: Nils Gillmann <gillmann@gnunet.org>
Diffstat (limited to 'maketgz')
-rwxr-xr-x | maketgz | 40 |
1 files changed, 31 insertions, 9 deletions
@@ -183,20 +183,42 @@ make -sj dist VERSION=$version # # Now make a bz2 archive from the tar.gz original # +# +#bzip2="gnurl-$version.tar.bz2" +#echo "Generating $bzip2" +#gzip -dc $targz | bzip2 --best > $bzip2 +# +############################################################################ +# +# Now make an Z archive from the tar.gz original +# -bzip2="gnurl-$version.tar.bz2" -echo "Generating $bzip2" -gzip -dc $targz | bzip2 --best > $bzip2 +compress="gnurl-$version.tar.Z" +tempdir=".builddir" + +makeZ() { + rm -rf $tempdir + mkdir $tempdir + cd $tempdir + tar -xf ../$targz + tar -cZf $compress gnurl-$version + mv $compress ../ + cd .. + rm -rf $tempdir +} + +echo "Generating $compress" +makeZ ############################################################################ # # Now make an xz archive from the tar.gz original # - -xz="gnurl-$version.tar.xz" -echo "Generating $xz" -gzip -dc $targz | xz -6e - > $xz - +# +#xz="gnurl-$version.tar.xz" +#echo "Generating $xz" +#gzip -dc $targz | xz -6e - > $xz +# ############################################################################ # # Now make a zip archive from the tar.gz original @@ -221,7 +243,7 @@ tempdir=".builddir" echo "------------------" echo "maketgz report:" echo "" -ls -l $targz $bzip2 $xz +ls -l $targz $bzip2 $xz $compress echo "Run this:" echo "gpg -b -a $targz && gpg -b -a $bzip2 && gpg -b -a $zip && gpg -b -a $xz" |