From 4395a8977727e2c569b472dbe8710ffb87c219e2 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 14 Jul 2017 21:21:33 +0100 Subject: [PATCH] Use env to run the Python-based tools Otherwise overriding the Python interpreter with `--with-python` won't work correctly. --- gobject/glib-genmarshal.in | 2 +- 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. #