Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
rpmlint-tests
stricter-interpreter-check.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stricter-interpreter-check.diff of Package rpmlint-tests
From: Some One <nobody@opensuse.org> Date: Thu, 9 Apr 2015 14:55:39 +0200 Subject: [PATCH] stricter-interpreter-check.diff =================================================================== --- FilesCheck.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FilesCheck.py b/FilesCheck.py index 59901e7..6c322c6 100644 --- a/FilesCheck.py +++ b/FilesCheck.py @@ -1268,7 +1268,8 @@ class FilesCheck(AbstractCheck.AbstractCheck): 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, "%o" % perm, interpreter) if b'\r' in chunk:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor