[Pkg-mozext-commits] [flashgot] 01/04: Updated repack script to work with current uscan behaviour.

Michael Meskes meskes at moszumanska.debian.org
Sat Mar 19 10:02:12 UTC 2016


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

meskes pushed a commit to branch master
in repository flashgot.

commit f54c577d2145fa52462f4ab42b70ab968db9810c
Author: Michael Meskes <meskes at debian.org>
Date:   Sat Mar 19 10:53:34 2016 +0100

    Updated repack script to work with current uscan behaviour.
---
 debian/repack.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/repack.sh b/debian/repack.sh
index 97fd141..e1920bb 100755
--- a/debian/repack.sh
+++ b/debian/repack.sh
@@ -1,15 +1,15 @@
-#!/bin/sh
+#!/bin/sh -x
 
 VERSION=$2
-XPI=$3
+TAR=$3
 PACKAGE=$(dpkg-parsechangelog | sed -n 's/^Source: //p')
-TAR=../${PACKAGE}_${VERSION}.orig.tar.gz
 DIR=../${PACKAGE}-${VERSION}
 
-/usr/bin/xpi-unpack $XPI $DIR
-
+mkdir $DIR
+tar -zxf $TAR -C $DIR
 tar -zcf ../${PACKAGE}_${VERSION}+dfsg.orig.tar.gz --exclude *.exe $DIR
 
 rm -rf $DIR
-rm $XPI
+rm $TAR
+
 

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



More information about the Pkg-mozext-commits mailing list