[SCM] vdr-plugin-block packaging repository branch, master, updated. debian/0.1.2+git20130322-3-4-g3324f4e

etobi git at e-tobi.net
Tue Apr 2 22:00:43 UTC 2013


The following commit has been merged in the master branch:
commit 6c8cbe7421bb8802e37b40cb0e3d79d203941498
Author: etobi <git at e-tobi.net>
Date:   Tue Apr 2 23:55:31 2013 +0200

    Improved get-vcs-snapshot.sh

diff --git a/debian/get-vcs-snapshot.sh b/debian/get-vcs-snapshot.sh
index d3f189c..c7fd19e 100644
--- a/debian/get-vcs-snapshot.sh
+++ b/debian/get-vcs-snapshot.sh
@@ -2,7 +2,7 @@ echo Downloading latest from git repository...
 set -e
 
 DEB_SOURCE_PACKAGE=`egrep '^Source: ' debian/control | cut -f 2 -d ' '`
-VERSION_UPSTREAM=`dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version:\s*//' -e s/-[^-]*//`
+VERSION_UPSTREAM=`dpkg-parsechangelog | grep ^Version: | sed -e 's/^Version:\s*//' -e s/-[^-]*$// -e s/\+git.*//`
 VERSION_DATE=`/bin/date --utc +%0Y%0m%0d`
 VERSION_FULL="${VERSION_UPSTREAM}+git${VERSION_DATE}"
 

-- 
vdr-plugin-block packaging repository



More information about the pkg-vdr-dvb-changes mailing list