diff --git a/helpers/config b/helpers/config index 080ae69..376f4e4 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 $DATE/" -i debian/changelog