diff options
author | Nick Jones <nick.jones@datacentred.co.uk> | 2016-08-04 22:48:44 +0100 |
---|---|---|
committer | Nick Jones <nick.jones@datacentred.co.uk> | 2016-08-04 22:48:44 +0100 |
commit | 7201dc58516565582ec484e0352ac803a36e4afa (patch) | |
tree | 3fdde74e1b445da07d4f03acfb50cc6c40790b7d | |
parent | 1cb9e9cec10de96f77880dbbf27259e4f23adbf3 (diff) |
Switch out the shebang to invoke python via /usr/bin/env
Figure out the correct location of python via env, thus ensuring that
this script plays nice with things like pyenv.
-rwxr-xr-x | foreman_ansible_inventory.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/foreman_ansible_inventory.py b/foreman_ansible_inventory.py index 05c8d42..eefed52 100755 --- a/foreman_ansible_inventory.py +++ b/foreman_ansible_inventory.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # vim: set fileencoding=utf-8 : # # Copyright (C) 2016 Guido Günther <agx@sigxcpu.org> |