[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. d6e500da23b549e573e89f1fc3fa959d746c5525



The following commit has been merged in the master branch:
commit d6e500da23b549e573e89f1fc3fa959d746c5525
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Sun Jul 6 23:02:58 2008 +0100

    Fix a small false positive in the "sourced script with arguments" check

diff --git a/checks/scripts b/checks/scripts
index 799da1e..e4c12cd 100644
--- a/checks/scripts
+++ b/checks/scripts
@@ -627,7 +627,7 @@ while (<SCRIPTS>) {
 
 		# since this test is ugly, I have to do it by itself
 		# detect source (.) trying to pass args to the command it runs
-		if (not $found and m/^\s*(\.\s+[^\s;\`]+\s+([^\s;]+))/) {
+		if (not $found and m/^\s*(\.\s+[^\s;\`:]+\s+([^\s;]+))/) {
 		    my $extra;
 		    ($match, $extra) = ($1, $2);
 		    if ($extra =~ /^(\&|\||\d?>|<)/) {

-- 
Debian package checker


Reply to: