diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index e68116e..7eac66e 100755 --- a/debian/rules +++ b/debian/rules @@ -42,11 +42,11 @@ install: build rm -rf debian/pylint/usr/lib/python*/*-packages/pylint/test # fixes shebangs - for exec in pylint pylint-gui symilar ; do \ - if head -1 debian/pylint/usr/bin/$$exec | grep "^#! */usr/bin" | grep "python" >/dev/null ; then \ - sed -i "s@^#! */usr/bin/env \+python\$$@#!/usr/bin/python@" debian/pylint/usr/bin/$$exec; \ + for exec_file in pylint pylint-gui symilar epylint pyreverse ; do \ + if head -1 debian/pylint/usr/bin/$$exec_file | grep "^#! */usr/bin" | grep "python" >/dev/null ; then \ + sed -i "s@^#! */usr/bin/env \+python\$$@#!/usr/bin/python@" debian/pylint/usr/bin/$$exec_file; \ fi ; \ - chmod a+x debian/pylint/usr/bin/$$exec; \ + chmod a+x debian/pylint/usr/bin/$$exec_file; \ done install -m 644 elisp/pylint.el debian/pylint/usr/share/emacs/site-lisp/pylint/ |