blob: 1c645f3a9abc9fe87b9008f4112b8ca641df030b [file] [log] [blame]
Andrew Geissler4b740dc2020-05-05 08:54:39 -05001From 79ce7e545dd3a93f77d2146d50b6fa061fbceed9 Mon Sep 17 00:00:00 2001
Brad Bishop316dfdd2018-06-25 12:45:53 -04002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 3 Oct 2017 10:45:55 +0300
Andrew Geissler4b740dc2020-05-05 08:54:39 -05004Subject: [PATCH] Do not hardcode python path into various tools
Brad Bishop316dfdd2018-06-25 12:45:53 -04005
6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Andrew Geissler4b740dc2020-05-05 08:54:39 -05008
Brad Bishop316dfdd2018-06-25 12:45:53 -04009---
10 gio/gdbus-2.0/codegen/gdbus-codegen.in | 2 +-
11 gobject/glib-genmarshal.in | 2 +-
12 gobject/glib-mkenums.in | 2 +-
13 3 files changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in
Andrew Geissler4b740dc2020-05-05 08:54:39 -050016index 67d3675..4e92a7a 100755
Brad Bishop316dfdd2018-06-25 12:45:53 -040017--- a/gio/gdbus-2.0/codegen/gdbus-codegen.in
18+++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in
19@@ -1,4 +1,4 @@
20-#!/usr/bin/env @PYTHON@
21+#!/usr/bin/env python3
22
23 # GDBus - GLib D-Bus Library
24 #
25diff --git a/gobject/glib-genmarshal.in b/gobject/glib-genmarshal.in
Andrew Geissler4b740dc2020-05-05 08:54:39 -050026index 7380f24..c8abeaa 100755
Brad Bishop316dfdd2018-06-25 12:45:53 -040027--- a/gobject/glib-genmarshal.in
28+++ b/gobject/glib-genmarshal.in
29@@ -1,4 +1,4 @@
30-#!/usr/bin/env @PYTHON@
31+#!/usr/bin/env python3
32
33 # pylint: disable=too-many-lines, missing-docstring, invalid-name
34
35diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in
Andrew Geissler4b740dc2020-05-05 08:54:39 -050036index 91ad779..3ebef62 100755
Brad Bishop316dfdd2018-06-25 12:45:53 -040037--- a/gobject/glib-mkenums.in
38+++ b/gobject/glib-mkenums.in
39@@ -1,4 +1,4 @@
40-#!/usr/bin/env @PYTHON@
41+#!/usr/bin/env python3
42
43 # If the code below looks horrible and unpythonic, do not panic.
44 #