Author: ludovicc-guest Date: 2009-07-06 19:24:54 +0000 (Mon, 06 Jul 2009) New Revision: 8882
Modified: trunk/plexus-digest/debian/orig-tar.sh trunk/plexus-digest/debian/watch Log: * Update watch and orig-tar.sh to make them work Modified: trunk/plexus-digest/debian/orig-tar.sh =================================================================== --- trunk/plexus-digest/debian/orig-tar.sh 2009-07-06 19:12:42 UTC (rev 8881) +++ trunk/plexus-digest/debian/orig-tar.sh 2009-07-06 19:24:54 UTC (rev 8882) @@ -1,18 +1,20 @@ #!/bin/sh -e -# $1 = version +VERSION=$2 +TAR=../plexus-digest_$VERSION.orig.tar.gz +DIR=plexus-digest-$VERSION +TAG=plexus-digest-$VERSION -TAG=https://svn.codehaus.org/plexus/plexus-components/tags/plexus-digest-$1/ +svn export http://svn.codehaus.org/plexus/plexus-components/tags/$TAG/ $DIR +tar -c -z -f $TAR $DIR +rm -rf $DIR ../$TAG -SOURCE=plexus-digest-$1 -mkdir $SOURCE -cd $SOURCE || exit 2 -svn export $TAG +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi -GZIP=--best tar czf ../plexus-digest_$1.orig.tar.gz $SOURCE || exit 2 -cd .. -rm -rf $SOURCE - - Modified: trunk/plexus-digest/debian/watch =================================================================== --- trunk/plexus-digest/debian/watch 2009-07-06 19:12:42 UTC (rev 8881) +++ trunk/plexus-digest/debian/watch 2009-07-06 19:24:54 UTC (rev 8882) @@ -1,9 +1,3 @@ version=3 -# makes the orig-tar.sh script obsolete -opts=downloadurlmangle=s#browse/.*/plexus-digest-(.*)$#browse/~tarball=tgz/plexus/plexus-components/tags/plexus-digest-$1/plexus-digest-$1.tgz#,filenamemangle=s#.*/(plexus-digest-[^/]+)$#$1.tgz# \ - http://svn.plexus.codehaus.org/browse/plexus/plexus-components/tags \ - ^.*/plexus-digest-([[:digit:].]+)$ - -# alternative: -# http://svn.codehaus.org/plexus/plexus-components/tags/ \ -# plexus-digest-(.*)/ debian debian/orig-tar.sh +http://svn.codehaus.org/plexus/plexus-components/tags/ \ + plexus-digest-(.*)/ debian debian/orig-tar.sh _______________________________________________ pkg-java-commits mailing list pkg-java-commits@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits