diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-07-14 21:21:33 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-07-14 21:21:33 +0100 |
commit | 4395a8977727e2c569b472dbe8710ffb87c219e2 (patch) | |
tree | 888a24aef383bc1186fe71adaf6408b8e1d8dd54 | |
parent | 0f18a2ebda4ec0440ec545542f9fc2f60cd54c5d (diff) | |
download | glib-4395a8977727e2c569b472dbe8710ffb87c219e2.tar.gz |
Use env to run the Python-based tools
Otherwise overriding the Python interpreter with `--with-python` won't
work correctly.
-rwxr-xr-x | gobject/glib-genmarshal.in | 2 | ||||
-rwxr-xr-x | gobject/glib-mkenums.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gobject/glib-genmarshal.in b/gobject/glib-genmarshal.in index 9a39a53e8..6ce33d04f 100755 --- a/gobject/glib-genmarshal.in +++ b/gobject/glib-genmarshal.in @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!/usr/bin/env @PYTHON@ # pylint: disable=too-many-lines, missing-docstring, invalid-name diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in index 6aaef5817..87f81cf2e 100755 --- a/gobject/glib-mkenums.in +++ b/gobject/glib-mkenums.in @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!/usr/bin/env @PYTHON@ # If the code below looks horrible and unpythonic, do not panic. # |