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 _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

