[pkg-java] r3999 - trunk/solr/debian
janpascal-guest at alioth.debian.org
janpascal-guest at alioth.debian.org
Tue Aug 7 13:27:15 UTC 2007
Author: janpascal-guest
Date: 2007-08-07 13:27:15 +0000 (Tue, 07 Aug 2007)
New Revision: 3999
Modified:
trunk/solr/debian/get-orig-source
Log:
take into account uscan --dehs bug
Modified: trunk/solr/debian/get-orig-source
===================================================================
--- trunk/solr/debian/get-orig-source 2007-08-07 11:54:59 UTC (rev 3998)
+++ trunk/solr/debian/get-orig-source 2007-08-07 13:27:15 UTC (rev 3999)
@@ -1,6 +1,12 @@
#!/bin/sh
-DEHS=` uscan --no-download --dehs`
+USCAN_VERSION=`uscan --version | grep -o "version [0-9.]*" | grep -o "[0-9]*\.[0-9]*\.[0-9]*"`
+if [ ${USCAN_VERSION:0:4} = "2.9." ]; then
+ # Version 2.9 of uscan has a bug, fixed in 2.10
+ DEHS=`( uscan --no-download --dehs ; echo "</dehs>")`
+else
+ DEHS=`uscan --no-download --dehs`
+fi
URL=`echo $DEHS | xsltproc debian/uscan-url.xslt -`
VERSION=`echo $DEHS | xsltproc debian/uscan-upstream-version.xslt -`
More information about the pkg-java-commits
mailing list