[pkg-java] r7165 - trunk/fop/debian

twerner at alioth.debian.org twerner at alioth.debian.org
Fri Oct 17 20:34:26 UTC 2008


Author: twerner
Date: 2008-10-17 20:34:26 +0000 (Fri, 17 Oct 2008)
New Revision: 7165

Modified:
   trunk/fop/debian/orig-tar.sh
Log:
fix my own stupid errors in the last commit


Modified: trunk/fop/debian/orig-tar.sh
===================================================================
--- trunk/fop/debian/orig-tar.sh	2008-10-17 20:24:54 UTC (rev 7164)
+++ trunk/fop/debian/orig-tar.sh	2008-10-17 20:34:26 UTC (rev 7165)
@@ -1,17 +1,18 @@
 #!/bin/sh -e
 
 # called by uscan with '--upstream-version' <version> <file>
+TAR=../fop_$2.dfsg.orig.tar.gz
 DIR=fop-$2
 
 # clean up the upstream tarball
-tar -zxvf $3 
-tar -czf $3 --exclude '*/lib/*' $DIR
-rm -rf $DIR
+tar -zxvf $3
+tar -czf $TAR --exclude '*/lib/*' $DIR
+rm -rf $DIR $3
 
 # move to directory 'tarballs'
 if [ -r .svn/deb-layout ]; then
     . .svn/deb-layout
-    mv $3 $origDir
-    echo "moved $3 to $origDir"
+    mv $TAR $origDir
+    echo "moved $TAR to $origDir"
 fi
 




More information about the pkg-java-commits mailing list