forked from pool/rpmlint
Dirk Mueller
b0b29cefb3
* 0001-Python-3-compatibility-tweaks.patch - Change openstack- related users to non-prefixed variants, as they get renamed with the switch to Icehouse OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=244
15 lines
708 B
Diff
15 lines
708 B
Diff
Index: FilesCheck.py
|
|
===================================================================
|
|
--- FilesCheck.py.orig
|
|
+++ FilesCheck.py
|
|
@@ -1245,7 +1245,8 @@ class FilesCheck(AbstractCheck.AbstractC
|
|
f.endswith('.la')):
|
|
printError(pkg, 'script-without-shebang', f)
|
|
|
|
- if not mode_is_exec and not is_doc:
|
|
+ if not mode_is_exec and not is_doc and \
|
|
+ interpreter and interpreter.startswith("/"):
|
|
printError(pkg, 'non-executable-script', f,
|
|
oct(perm), interpreter)
|
|
if '\r' in chunk:
|