[devscripts] 01/02: debsign: Prefer Changed-By when detecting signer

James McCoy jamessan at debian.org
Mon Mar 13 03:57:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository devscripts.

commit 763ab8e3cd149dec80a0e988e125199a4eecce3a
Author: James McCoy <jamessan at debian.org>
Date:   Sun Mar 12 22:30:17 2017 -0400

    debsign: Prefer Changed-By when detecting signer
    
    Regression introduced by 0207d9493a24decfba5e533c2efa75e1e2e335db.
    
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog   | 8 ++++++++
 scripts/debsign.sh | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a0bf577..bcd139c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+devscripts (2.17.3) UNRELEASED; urgency=medium
+
+  * debsign:
+    + Fix auto-detection of the signer.  Regression introduced in 2.17.2.
+      (Closes: #857537)
+
+ -- James McCoy <jamessan at debian.org>  Sun, 12 Mar 2017 22:19:34 -0400
+
 devscripts (2.17.2) unstable; urgency=medium
 
   [ James McCoy ]
diff --git a/scripts/debsign.sh b/scripts/debsign.sh
index 2eb23df..fccbbef 100755
--- a/scripts/debsign.sh
+++ b/scripts/debsign.sh
@@ -496,7 +496,7 @@ guess_signas() {
     # Try the new "Changed-By:" field first
     else maintainer=`sed -n 's/^Changed-By: //p' $1`
     fi
-    if [ -z "$maint" ]
+    if [ -z "$maintainer" ]
     then maintainer=`sed -n 's/^Maintainer: //p' $1`
     fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list