ef72ae8a8c
Copy from Base:System/rpmlint based on submit request 38818 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/38818 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=58
12 lines
579 B
Diff
12 lines
579 B
Diff
--- FilesCheck.py
|
|
+++ FilesCheck.py
|
|
@@ -826,7 +826,7 @@
|
|
f.endswith('.la')):
|
|
printError(pkg, 'script-without-shebang', f)
|
|
|
|
- if mode & 0111 == 0 and not is_doc:
|
|
+ if mode & 0111 == 0 and not is_doc and interpreter.startswith("/"):
|
|
printError(pkg, 'non-executable-script', f,
|
|
oct(perm), interpreter)
|
|
if line.endswith('\r\n') or line.endswith('\r'):
|