From 28cedae7e9cbf978e2a3258b3d610f94f41b6fe3 Mon Sep 17 00:00:00 2001 From: Legimet <legimet.calc@gmail.com> Date: Thu, 18 Feb 2016 14:28:20 -0500 Subject: [PATCH] Call pkgversion function in config Conflicts: helpers/config --- helpers/config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpers/config b/helpers/config index 080ae69a..376f4e42 100755 --- a/helpers/config +++ b/helpers/config @@ -55,8 +55,7 @@ find $3 -type f -not -iregex '.*changelog.*' -not -iregex '.*copyright.*' -execd } changelog(){ head -n 1 debian/changelog | grep -q $UPSTREAM-security && REPO=$CODENAME-security || REPO=$CODENAME -PKGVERSION=$(dpkg-parsechangelog --show-field Version) -echo | dch -D $REPO -v ${PKGVERSION}+${REVISION}trisquel${VERSION} "$1" +echo | dch -D $REPO -v `pkgversion`+${REVISION}trisquel${VERSION} "$1" # Make sure the changelog file is identical between archs /bin/sed "/-- Trisquel/s/.*/ -- Trisquel GNU\/Linux developers <trisquel-devel@listas.trisquel.info> $DATE/" -i debian/changelog -- GitLab