gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] branch master updated: Adjust maketgz script to onl


From: gnunet
Subject: [GNUnet-SVN] [gnurl] branch master updated: Adjust maketgz script to only spit out tar.Z and tar.gz
Date: Sun, 22 Apr 2018 21:23:41 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

The following commit(s) were added to refs/heads/master by this push:
     new e4031072e Adjust maketgz script to only spit out tar.Z and tar.gz
e4031072e is described below

commit e4031072e95c57399423f256d5c1cd9c3634a557
Author: Nils Gillmann <address@hidden>
AuthorDate: Sun Apr 22 19:24:01 2018 +0000

    Adjust maketgz script to only spit out tar.Z and tar.gz
    
    Signed-off-by: Nils Gillmann <address@hidden>
---
 maketgz | 40 +++++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/maketgz b/maketgz
index 7d266a2b5..d89310b11 100755
--- a/maketgz
+++ b/maketgz
@@ -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"

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]