r41153 - /scripts/fix-missing-upstream
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Mon Aug 3 07:49:58 UTC 2009
Author: ryan52-guest
Date: Mon Aug 3 07:49:53 2009
New Revision: 41153
URL: http://svn.debian.org/wsvn/?sc=1&rev=41153
Log:
allow for NMUs
Modified:
scripts/fix-missing-upstream
Modified: scripts/fix-missing-upstream
URL: http://svn.debian.org/wsvn/scripts/fix-missing-upstream?rev=41153&op=diff
==============================================================================
--- scripts/fix-missing-upstream (original)
+++ scripts/fix-missing-upstream Mon Aug 3 07:49:53 2009
@@ -2,7 +2,7 @@
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
+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/')
PACKAGE=$(echo $TARBALL | sed -r 's/^(.*)_.*$/\1/')
ORIGDIR=$(pwd)
More information about the Pkg-perl-cvs-commits
mailing list