From: Guillem Jover Date: Tue, 4 Apr 2006 02:32:43 +0000 (+0000) Subject: Use mustsetvar when setting the value of the sversion variable in X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b9ec97f5866bca8e8dd3ade22e91c2600917464;p=dpkg Use mustsetvar when setting the value of the sversion variable in dpkg-buildpackage (Andrew Suffield). Closes: #158953 --- diff --git a/ChangeLog b/ChangeLog index 43bff382..ef732d44 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-04-04 Andrew Suffield + + * dpkg-buildpackage.sh: Use mustsetvar to set sversion variable. + 2006-04-04 Jared Spiegel * utils/start-stop-daemon.c (do_help): Add '-r' option to the help diff --git a/debian/changelog b/debian/changelog index a93cdbf7..05e27334 100644 --- a/debian/changelog +++ b/debian/changelog @@ -25,6 +25,8 @@ dpkg (1.13.18~) UNRELEASED; urgency=low start-stop-daemon. Closes: #318771, #333066 * Add '-r' to the help output of start-stop-daemon (Jared Spiegel). Closes: #354869 + * Use mustsetvar when setting the value of the sversion variable in + dpkg-buildpackage (Andrew Suffield). Closes: #158953 -- Christian Perrier Tue, 21 Mar 2006 20:46:24 +0100 diff --git a/scripts/dpkg-buildpackage.sh b/scripts/dpkg-buildpackage.sh index b2602af1..97753c2d 100755 --- a/scripts/dpkg-buildpackage.sh +++ b/scripts/dpkg-buildpackage.sh @@ -153,7 +153,7 @@ if [ x$sourceonly = x ]; then else arch=source fi -sversion=`echo "$version" | perl -pe 's/^\d+://'` +mustsetvar sversion "`echo \"$version\" | perl -pe 's/^\d+://'`" "source version without epoch" pv="${package}_${sversion}" pva="${package}_${sversion}_${arch}"