sign command that we will default to a pgp style interface.
Closes: #133470
+2006-06-18 Frank Lichtenheld <djpig@debian.org>
+
+ * scripts/dpkg-buildpackage.sh: Fix testing
+ the content of $signinterface by moving the
+ test to a place where it can actually fail.
+ Give the user a correct warning message about
+ what we do (i.e. defaulting to pgp style).
+
2006-06-17 Frank Lichtenheld <djpig@debian.org>
* scripts/dpkg-source.pl: Fix typo in regex that caused
[ Frank Lichtenheld ]
* dpkg-source issued spurious warnings about fields defined with
XB-. They now get correctly suppressed. Closes: #374154
+ * Give a correct warning when the user requested an unknown
+ sign command that we will default to a pgp style interface.
+ Closes: #133470
[ Updated dpkg Translations ]
* Romanian (Eddy Petrişor).
if test -n "$forcesigninterface" ; then
signinterface=$forcesigninterface
-if [ "$signinterface" != "gpg" ] && [ "$signinterface" != "pgp" ] ; then
- echo >&2 "$progname: invalid sign interface specified"
- exit 1
-fi
else
signinterface=$signcommand
fi
-
+if [ -n "$signcommand" ] && [ "$signinterface" != "gpg" ] && [ "$signinterface" != "pgp" ] ; then
+ echo >&2 "$progname: unknown sign command, assuming pgp style interface"
+fi
mustsetvar () {
if [ "x$2" = x ]; then