r41145 - /scripts/fix-missing-upstream

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Mon Aug 3 07:37:21 UTC 2009


Author: ryan52-guest
Date: Mon Aug  3 07:37:14 2009
New Revision: 41145

URL: http://svn.debian.org/wsvn/?sc=1&rev=41145
Log:
no, we always want the first line, since this is what svn-upgrade looks at

Modified:
    scripts/fix-missing-upstream

Modified: scripts/fix-missing-upstream
URL: http://svn.debian.org/wsvn/scripts/fix-missing-upstream?rev=41145&op=diff
==============================================================================
--- scripts/fix-missing-upstream (original)
+++ scripts/fix-missing-upstream Mon Aug  3 07:37:14 2009
@@ -1,9 +1,6 @@
 #!/bin/sh
 
-DOWNLOAD_STRING=$(sed -r -e '/unstable. urgency/ !d' -e 'q' debian/changelog)
-if [ -z "$DOWNLOAD_STRING" ]; then
-    DOWNLOAD_STRING=$(head -1 debian/changelog)
-fi
+DOWNLOAD_STRING=$(head -1 debian/changelog)
 DOWNLOAD_STRING=$(echo $DOWNLOAD_STRING | sed -r 's/(.*) \((.*)\).*/\1=\2/')
 TARBALL=$(echo $DOWNLOAD_STRING | sed -e 's/=/_/' -e 's/^[0-9]*://' -e 's/-[0-9]*$//').orig.tar.gz
 UPSTREAM_VERSION=$(echo $TARBALL | sed -r 's/^.*_(.*).orig.tar.gz$/\1/')




More information about the Pkg-perl-cvs-commits mailing list