[pkg-java] r7938 - trunk/java3d/debian

sylvestre-guest at alioth.debian.org sylvestre-guest at alioth.debian.org
Fri Feb 6 15:57:46 UTC 2009


Author: sylvestre-guest
Date: 2009-02-06 15:57:46 +0000 (Fri, 06 Feb 2009)
New Revision: 7938

Added:
   trunk/java3d/debian/orig-tar.sh
Log:
repack string

Added: trunk/java3d/debian/orig-tar.sh
===================================================================
--- trunk/java3d/debian/orig-tar.sh	                        (rev 0)
+++ trunk/java3d/debian/orig-tar.sh	2009-02-06 15:57:46 UTC (rev 7938)
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=j3d-$2
+TAR=../j3d_$2.orig.tar.gz
+
+# clean up the upstream tarball
+unzip $3 -d $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $TAR $origDir
+    echo "moved $TAR to $origDir"
+fi
+
+exit 0


Property changes on: trunk/java3d/debian/orig-tar.sh
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list