Sophie

Sophie

distrib > Mandriva > 2009.1 > i586 > media > main-release-src > by-pkgid > 8237ee104d2a4fac6a18dc3e49de0c9e > files > 10

rpmlint-0.84-2mdv2009.1.src.rpm

diff -p -up ./FilesCheck.py.tv6 ./FilesCheck.py
--- ./FilesCheck.py.tv6	2008-02-11 19:46:00.000000000 +0100
+++ ./FilesCheck.py	2008-02-11 19:46:11.000000000 +0100
@@ -647,7 +647,7 @@ class FilesCheck(AbstractCheck.AbstractC
                         elif res or mode & 0111 != 0 or script_regex.search(f):
                             if res:
                                 if not interpreter_regex.search(res.group(1)):
-                                    printError(pkg, 'wrong-script-interpreter', f, '"' + res.group(1) + '"')
+                                    printWarning(pkg, 'wrong-script-interpreter', f, '"' + res.group(1) + '"')
                             elif not nonexec_file and not (lib_path_regex.search(f) and f.endswith('.la')):
                                 printWarning(pkg, 'script-without-shebang', f)