[glassfish-dtd-parser] 05/05: match date from the version instead of using a hardcoded revno when pulling from upstream
Timo Aaltonen
tjaalton-guest at moszumanska.debian.org
Tue Jan 14 15:18:29 UTC 2014
This is an automated email from the git hooks/post-receive script.
tjaalton-guest pushed a commit to branch master
in repository glassfish-dtd-parser.
commit 92a4b2f3fd900b21eeb05f2d6949168ba1b155ff
Author: Timo Aaltonen <tjaalton at ubuntu.com>
Date: Tue Jan 14 17:18:21 2014 +0200
match date from the version instead of using a hardcoded revno when pulling from upstream
---
debian/orig-tar.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 6f26ab6..b99f21f 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -3,9 +3,10 @@
VERSION=$1
TAR=../glassfish-dtd-parser_$VERSION.orig.tar.xz
DIR=glassfish-dtd-parser-$VERSION
+DATE=$(echo "$VERSION" | sed -e 's/^.*\+svn//;s/$/T2359Z/')
TAG=$(echo "glassfish-dtd-parser-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
-svn export -r 18 https://svn.java.net/svn/dtd-parser~svn/trunk/dtd-parser $DIR
+svn export -r {$DATE} https://svn.java.net/svn/dtd-parser~svn/trunk/dtd-parser $DIR
XZ_OPT=--best tar -c -J -f $TAR \
--exclude '*.jar' \
--exclude '*.class' \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/glassfish-dtd-parser.git
More information about the pkg-java-commits
mailing list