diff options
author | Stefan Hagen <github@textmail.me> | 2017-11-01 12:54:12 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-11-05 19:16:07 +0100 |
commit | 2fa15118987d0afe012a5e408dc262e73e26d185 (patch) | |
tree | 7301404436ef09b996f4fe1ce7e140193c47bc23 /contrib | |
parent | 9443de478321bf6334653c3d0085c77bdb6dfc26 (diff) | |
download | calcurse-2fa15118987d0afe012a5e408dc262e73e26d185.tar.gz calcurse-2fa15118987d0afe012a5e408dc262e73e26d185.zip |
calcurse-caldav: Use /usr/bin/env in the shebang
It is best practice to use `/usr/bin/env python3` instead of a hard
coded path. This will search for "python3" in the PATH environment
variable.
Most Linux distributions install python to "/usr/bin". Most BSDs to
"/usr/local/bin".
Signed-off-by: Stefan Hagen <github@textmail.me>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/caldav/calcurse-caldav.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py index 173a0a9..1d0a0c8 100755 --- a/contrib/caldav/calcurse-caldav.py +++ b/contrib/caldav/calcurse-caldav.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import argparse import base64 |