2010-04-28 22:41:49 +02:00
|
|
|
Index: FilesCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- FilesCheck.py.orig
|
2008-04-17 04:52:37 +02:00
|
|
|
+++ FilesCheck.py
|
2010-04-28 22:41:49 +02:00
|
|
|
@@ -1292,7 +1292,7 @@ class FilesCheck(AbstractCheck.AbstractC
|
2009-09-16 18:41:21 +02:00
|
|
|
interpreter = None
|
2008-04-17 04:52:37 +02:00
|
|
|
if res:
|
2009-09-16 18:41:21 +02:00
|
|
|
interpreter = res.group(1)
|
|
|
|
- if not interpreter_regex.search(interpreter):
|
|
|
|
+ if mode & 0111 != 0 and not interpreter_regex.search(interpreter):
|
2010-04-01 16:20:38 +02:00
|
|
|
printError(pkg, 'wrong-script-interpreter',
|
|
|
|
f, interpreter)
|
|
|
|
elif not nonexec_file and not \
|