[pkg-java] r8043 - trunk/ivy/debian
varun at alioth.debian.org
varun at alioth.debian.org
Sat Mar 7 03:48:24 UTC 2009
Author: varun
Date: 2009-03-07 03:48:24 +0000 (Sat, 07 Mar 2009)
New Revision: 8043
Modified:
trunk/ivy/debian/orig-tar.sh
Log:
fix orig-tar.sh script
Modified: trunk/ivy/debian/orig-tar.sh
===================================================================
--- trunk/ivy/debian/orig-tar.sh 2009-03-07 03:15:45 UTC (rev 8042)
+++ trunk/ivy/debian/orig-tar.sh 2009-03-07 03:48:24 UTC (rev 8043)
@@ -1,5 +1,14 @@
#!/bin/sh -e
+# called by uscan with '--upstream-version' <version> <file>
+DIR=ivy-$2.orig
+
+# clean up the upstream tarball
+tar -z -x -f $3
+mv apache-ivy-$2 $DIR
+tar -c -z -f $3 --exclude '*/test*' --exclude '*/doc*' $DIR
+rm -rf $DIR
+
# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
. .svn/deb-layout
More information about the pkg-java-commits
mailing list