[libnb-platform-java] 01/22: orig-tar.sh: Use xz compression

Markus Koschany apo-guest at moszumanska.debian.org
Tue Dec 15 20:18:14 UTC 2015


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

apo-guest pushed a commit to branch master
in repository libnb-platform-java.

commit 5301c8790efd92ec05918b719100192fc3f4cda1
Author: Markus Koschany <apo at debian.org>
Date:   Tue Dec 15 00:44:30 2015 +0100

    orig-tar.sh: Use xz compression
---
 debian/orig-tar.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 4c1e5f4..01dd22e 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -2,8 +2,8 @@
 
 set -e
 
-VERSION=$2
-FILE=$3
+VERSION=$1
+FILE=$2
 
 FILENAME=`basename $FILE`
 BASE=`basename $FILE .zip`
@@ -26,7 +26,7 @@ then
 
 fi
 
-TARFILE=../libnb-platform18-java_$VERSION+dfsg1.orig.tar.gz
+TARFILE=../libnb-platform18-java_$VERSION+dfsg1.orig.tar.xz
 # Resolve symbolic links
 FILE=`readlink -f $FILE`
 BASE="libnb-platform-java-$VERSION"
@@ -133,7 +133,7 @@ rm -rf $BASE/versioning.util/test/unit/data/
 
 
 # Make our ".orig.tar.gz"
-tar -czf $TARFILE $BASE
+tar -caf $TARFILE $BASE
 
 # Remove our unpack directory
 rm -rf $BASE

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libnb-platform-java.git



More information about the pkg-java-commits mailing list