[med-svn] [python-pyvcf] 02/11: Fix obtaining version in get-orig-source

Andreas Tille tille at debian.org
Fri Dec 2 20:16:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository python-pyvcf.

commit 9c5c275810695789265e31e8f1e25faa04171b87
Author: Andreas Tille <tille at debian.org>
Date:   Fri Dec 2 20:18:10 2016 +0100

    Fix obtaining version in get-orig-source
---
 debian/get-orig-source | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index 46986b2..da556b8 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -2,7 +2,6 @@
 # Test-Data needs to be fetched separately from Git
 
 set -e
-set -x
 
 PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
 
@@ -10,7 +9,7 @@ if ! echo $@ | grep -q upstream-version ; then
     VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
     uscan --verbose --force-download
 else
-    VERSION=`echo $@ | sed 's?^.*--upstream-version \([0-9.]\+\) .*?\1?'`
+    VERSION=`echo $@ | sed 's?^.*--upstream-version \([0-9.]\+\).*?\1?'`
     if echo "$VERSION" | grep -q "upstream-version" ; then
 	echo "Unable to parse version number"
         exit

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pyvcf.git



More information about the debian-med-commit mailing list