From b66cf670316f30381457a347ce9ddd5b3f3b180c Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 9 May 2007 03:14:20 +0000 Subject: [PATCH] Remove bashisms in dpkg-buildpackage. Closes: #422239 --- ChangeLog | 5 +++++ debian/changelog | 2 +- scripts/dpkg-buildpackage.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c03954d7..017a6cd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Guillem Jover + + * scripts/dpkg-buildpackage.sh: Remove check for variable being empty, + as the path check quoted, thus removing the bashisms. + 2007-05-08 Guillem Jover * configure.ac: Bump version to 1.14.2~. diff --git a/debian/changelog b/debian/changelog index 579bc8ee..2a5815e9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ dpkg (1.14.2) UNRELEASED; urgency=low - * + * Remove bashisms in dpkg-buildpackage. Closes: #422239 -- Guillem Jover Tue, 08 May 2007 18:48:22 +0300 diff --git a/scripts/dpkg-buildpackage.sh b/scripts/dpkg-buildpackage.sh index fcd0d1b0..7c1b6457 100755 --- a/scripts/dpkg-buildpackage.sh +++ b/scripts/dpkg-buildpackage.sh @@ -60,7 +60,7 @@ END rootcommand='' signcommand="" -if (( [ -n "$GNUPGHOME" ] && [ -e "$GNUPGHOME" ] ) || [ -e "$HOME/.gnupg" ] ) && \ +if [ -e "$GNUPGHOME" ] || [ -e "$HOME/.gnupg" ] && \ command -v gpg > /dev/null 2>&1; then signcommand=gpg elif command -v pgp > /dev/null 2>&1 ; then -- 2.39.5