2010-10-14 14:32:03 +02:00
|
|
|
Index: FilesCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- FilesCheck.py.orig
|
2010-04-26 23:35:02 +02:00
|
|
|
+++ FilesCheck.py
|
2010-10-14 14:32:03 +02:00
|
|
|
@@ -1248,7 +1248,8 @@ class FilesCheck(AbstractCheck.AbstractC
|
2010-04-26 23:35:02 +02:00
|
|
|
f.endswith('.la')):
|
|
|
|
printError(pkg, 'script-without-shebang', f)
|
|
|
|
|
|
|
|
- if mode & 0111 == 0 and not is_doc:
|
2010-04-28 22:41:49 +02:00
|
|
|
+ if mode & 0111 == 0 and not is_doc and \
|
|
|
|
+ interpreter and interpreter.startswith("/"):
|
2010-04-26 23:35:02 +02:00
|
|
|
printError(pkg, 'non-executable-script', f,
|
|
|
|
oct(perm), interpreter)
|
|
|
|
if line.endswith('\r\n') or line.endswith('\r'):
|