diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2017-08-25 06:53:02 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2017-08-25 07:01:12 +0200 |
commit | cb307bf01aba9f76df5c1f800ae2296091a31fce (patch) | |
tree | fc162aea5454e503672a3371b91ca3453d604248 /aurweb/scripts/pkgmaint.py | |
parent | 2d2bef3513c81e434775c004eb78fc1d73ebae2e (diff) | |
download | aur-cb307bf01aba9f76df5c1f800ae2296091a31fce.tar.gz aur-cb307bf01aba9f76df5c1f800ae2296091a31fce.tar.xz |
Do not hardcode path to the Python interpreter
Use `/usr/bin/env python3` instead of `/usr/bin/python3` in the shebang
of Python scripts. This adds support for non-standard Python interpreter
paths such as the paths used in virtualenv environments.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'aurweb/scripts/pkgmaint.py')
-rwxr-xr-x | aurweb/scripts/pkgmaint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aurweb/scripts/pkgmaint.py b/aurweb/scripts/pkgmaint.py index 3ad9ed8d..36da126f 100755 --- a/aurweb/scripts/pkgmaint.py +++ b/aurweb/scripts/pkgmaint.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import time |