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

lintian: r290 - in trunk: checks debian



Author: djpig
Date: 2004-06-19 01:18:33 +0200 (Sat, 19 Jun 2004)
New Revision: 290

Modified:
   trunk/checks/scripts
   trunk/debian/changelog
Log:
'and' and 'or' are no bash keywords (Closes: #194283)


Modified: trunk/checks/scripts
===================================================================
--- trunk/checks/scripts	2004-06-18 20:47:56 UTC (rev 289)
+++ trunk/checks/scripts	2004-06-18 23:18:33 UTC (rev 290)
@@ -449,8 +449,7 @@
 		# 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 ($2 eq 'and' || $2 eq '&&' ||
-			$2 eq 'or' || $2 eq '||') {
+		    if ($2 eq '&&' || $2 eq '||') {
 			# everything is ok
 			;
 		    } else {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-06-18 20:47:56 UTC (rev 289)
+++ trunk/debian/changelog	2004-06-18 23:18:33 UTC (rev 290)
@@ -71,6 +71,7 @@
       ruby-script-but-no-ruby-dep error, copied from the python stuff
     + [FL] Don't issue script-not-executable for menu-methods. There
       are reasons why they are sometimes not executable (Closes: #250632)
+    + [FL] 'and' and 'or' are no bash keywords (Closes: #194283)
   * checks/shared-libs:
     + [FL] Don't report shlib-with-executable-bit and
       shlib-with-bad-permissions on symbolic links to such files



Reply to: