fix LAST_DEBIAN_PACKAGE_VERSION

This commit is contained in:
Jérôme Schneider 2013-12-08 15:49:29 +01:00
parent 298faf751f
commit ec3fcb6b6f
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ for DIST in $DISTS; do
git checkout $DEBIAN_BRANCH
git pull
PACKAGE_NAME=`cat debian/control | sed 's/^Source\s*:\s*//; t; d'`
LAST_DEBIAN_PACKAGE_VERSION=`git show origin/$DEBIAN_BRANCH:debian/changelog | dpkg-parsechangelog -l-| sed 's/^Version: //; t; d'`
LAST_DEBIAN_PACKAGE_VERSION=`dpkg-parsechangelog | sed 's/^Version: //; t; d'`
LAST_VERSION=`echo $LAST_DEBIAN_PACKAGE_VERSION | cut -d '-' -f1`
DEBIAN_FIRST_INC=1