diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-02-06 13:11:08 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-02-06 13:11:08 -0800 |
commit | d3deb6626e5d1a3b4ce198dd4f824ca61fa782e0 (patch) | |
tree | 0d61de51716806bf4cf6cc8e916ba56eb2e53260 /FilesCheck.py | |
parent | ca88c55c83387c2c50424640c46e4a6278c76d05 (diff) | |
download | rpmlint-d3deb6626e5d1a3b4ce198dd4f824ca61fa782e0.tar.gz rpmlint-d3deb6626e5d1a3b4ce198dd4f824ca61fa782e0.tar.bz2 rpmlint-d3deb6626e5d1a3b4ce198dd4f824ca61fa782e0.zip |
better-wrong-script.diff
===================================================================
Diffstat (limited to 'FilesCheck.py')
-rw-r--r-- | FilesCheck.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FilesCheck.py b/FilesCheck.py index ad63bcf..27513f6 100644 --- a/FilesCheck.py +++ b/FilesCheck.py @@ -1697,7 +1697,10 @@ executed.''', executed.''', 'wrong-script-interpreter', -'''This script uses an incorrect interpreter.''', +'''This script uses an incorrect interpreter. Correct interpreters should +be an absolute path to a file in in /(s)bin or /usr/(s)bin. +Alternatively, if the file isn't supposed to be executed, then don't +mark it as executable. ''', 'non-executable-script', '''This text file contains a shebang or is located in a path dedicated for |