[glib] Use detected PYTHON shebang in gdbus-codegen
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Use detected PYTHON shebang in gdbus-codegen
- Date: Thu, 25 Aug 2011 17:36:51 +0000 (UTC)
commit 33831bda2465c8f1e5d4a3fd2bf4e3618a812282
Author: Ionut Biru <ibiru archlinux org>
Date: Wed Aug 24 19:09:53 2011 +0000
Use detected PYTHON shebang in gdbus-codegen
Change the hardcoded /usr/bin/python shebag from gdbus-codegen.in into
@PYTHON Is used in Makefile.am to use detected python binary.
$(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' -e 's,@PYTHON\@,$(PYTHON),'
$< > $ tmp && mv $ tmp $@
Signed-off-by: Ionut Biru <ibiru archlinux org>
https://bugzilla.gnome.org/show_bug.cgi?id=657274
gio/gdbus-codegen/gdbus-codegen.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gdbus-codegen/gdbus-codegen.in b/gio/gdbus-codegen/gdbus-codegen.in
index 0fbacb3..94c0863 100755
--- a/gio/gdbus-codegen/gdbus-codegen.in
+++ b/gio/gdbus-codegen/gdbus-codegen.in
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#! PYTHON@
# GDBus - GLib D-Bus Library
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]