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

lintian: r377 - trunk/checks



Author: djpig
Date: 2004-12-06 10:22:18 +0100 (Mon, 06 Dec 2004)
New Revision: 377

Modified:
   trunk/checks/scripts
Log:
Correct regex to be more precise (s/./\./). Noted by Geert Stappers.


Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts	2004-12-06 01:16:05 UTC (rev 376)
+++ trunk/checks/scripts	2004-12-06 09:22:18 UTC (rev 377)
@@ -234,7 +234,7 @@
 	unless ($interpreter eq $valid_interpreters{$base} or
 		defined $calls_env) {
 	    # save us from some copy and paste
-	    if ($base =~ /^(ruby|python)(?:\d.\d)?$/) {
+	    if ($base =~ /^(ruby|python)(?:\d\.\d)?$/) {
 		tag_error("wrong-path-for-$1", $filename, "#!$interpreter");
 	    } else {
 		tag_error("wrong-path-for-$base", $filename, "#!$interpreter");



Reply to: