[SCM] Git repository for devscripts branch, master, updated. v2.12.4-56-ged6b4f9

Benjamin Drung bdrung at debian.org
Fri Oct 26 12:03:58 UTC 2012


The following commit has been merged in the master branch:
commit ed6b4f98c0f76d2bf28bbf153a8ceb8d2d0c60fb
Author: Raphael Geissert <geissert at debian.org>
Date:   Thu Oct 25 17:18:49 2012 -0500

    checkbashisms: display the fancy filename in error messages
    
    Signed-off-by: Benjamin Drung <bdrung at debian.org>

diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 63cf510..7ea977d 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -468,11 +468,11 @@ foreach my $filename (@ARGV) {
 	}
     }
 
-    warn "error: $filename:  Unterminated heredoc found, EOF reached. Wanted: <$cat_string>, opened in line $start_lines{'cat_string'}\n"
+    warn "error: $display_filename:  Unterminated heredoc found, EOF reached. Wanted: <$cat_string>, opened in line $start_lines{'cat_string'}\n"
 	if ($cat_string ne '');
-    warn "error: $filename: Unterminated quoted string found, EOF reached. Wanted: <$quote_string>, opened in line $start_lines{'quote_string'}\n"
+    warn "error: $display_filename: Unterminated quoted string found, EOF reached. Wanted: <$quote_string>, opened in line $start_lines{'quote_string'}\n"
 	if ($quote_string ne '');
-    warn "error: $filename: EOF reached while on line continuation.\n"
+    warn "error: $display_filename: EOF reached while on line continuation.\n"
 	if ($buffered_line ne '');
 
     close C;

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list