[devscripts] 01/01: chdist: Ensure error messages end with an EOL

James McCoy jamessan at debian.org
Sun Jan 5 19:59:36 UTC 2014


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

jamessan pushed a commit to branch master
in repository devscripts.

commit 418128c981768829145034df14469df03e6e7fd0
Author: James McCoy <jamessan at debian.org>
Date:   Sun Jan 5 14:56:55 2014 -0500

    chdist: Ensure error messages end with an EOL
    
    Closes: #734307
    Signed-off-by: James McCoy <jamessan at debian.org>
---
 debian/changelog  | 4 ++++
 scripts/chdist.pl | 1 +
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e5e3f11..49efc95 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
 devscripts (2.13.10) UNRELEASED; urgency=low
 
+  [ Jakub Wilk ]
   * Add sadt, a simple implementation of DEP-8 test runner (closes: #712095).
 
+  [ James McCoy ]
+  * chdist: Ensure error messages end with an EOL.  (Closes: #734307)
+
  -- Jakub Wilk <jwilk at debian.org>  Fri, 27 Dec 2013 18:39:11 +0100
 
 devscripts (2.13.9) unstable; urgency=low
diff --git a/scripts/chdist.pl b/scripts/chdist.pl
index e393e7c..5a03d71 100755
--- a/scripts/chdist.pl
+++ b/scripts/chdist.pl
@@ -199,6 +199,7 @@ if ($version) {
 sub fatal
 {
     my ($msg) = @_;
+    $msg =~ s/\n?$/\n/;
     print STDERR "$progname: $msg";
     exit 1;
 }

-- 
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