[wagon2] 01/02: fix d/orig-tar.sh

Eugene Zhukov eugene-guest at moszumanska.debian.org
Fri Oct 10 10:38:17 BST 2014


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

eugene-guest pushed a commit to branch master
in repository wagon2.

commit 9a700a4d9dadc49dcc3d7e74389cf7e9b2c65f65
Author: Eugene Zhukov <jevgeni.zh at gmail.com>
Date:   Fri Oct 10 07:05:48 2014 +0000

    fix d/orig-tar.sh
---
 debian/orig-tar.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index fb2618a..6e257c5 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,10 +1,11 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../wagon2_$VERSION.orig.tar.xz
+TAR=../wagon2_$VERSION.orig.tar.gz
 DIR=wagon-$VERSION
 
-unzip $3
-rm $3
-tar -c -J -f $TAR -X debian/orig-tar.exclude $DIR
+tar -zxf $TAR
+rm $TAR
+TAR_XZ=../wagon2_$VERSION.orig.tar.xz
+tar -c -J -f $TAR_XZ -X debian/orig-tar.exclude $DIR
 rm -rf $DIR

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



More information about the pkg-java-commits mailing list