[glib] gdbus-codegen: Revert to using /usr/bin/env for Python



commit acb5b852c1175675d0edd2f05f76aefdaa29e1c7
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date:   Thu Aug 25 10:45:40 2011 +0100

    gdbus-codegen: Revert to using /usr/bin/env for Python
    
    After a lot of discussion, we decided /usr/bin/env is the most
    flexible for now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=650763

 gio/gdbus-2.0/codegen/Makefile.am      |    2 +-
 gio/gdbus-2.0/codegen/gdbus-codegen.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdbus-2.0/codegen/Makefile.am b/gio/gdbus-2.0/codegen/Makefile.am
index 1b3aba8..145ccba 100644
--- a/gio/gdbus-2.0/codegen/Makefile.am
+++ b/gio/gdbus-2.0/codegen/Makefile.am
@@ -23,7 +23,7 @@ CLEANFILES += gdbus-codegen
 EXTRA_DIST += gdbus-codegen.in
 
 gdbus-codegen: gdbus-codegen.in Makefile
-	$(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' -e 's,@PYTHON\@,$(PYTHON),' $< > $  tmp && mv $  tmp $@
+	$(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' $< > $  tmp && mv $  tmp $@
 	@chmod a+x $@
 
 clean-local:
diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in
index aaffd5d..16360d6 100644
--- a/gio/gdbus-2.0/codegen/gdbus-codegen.in
+++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in
@@ -1,4 +1,4 @@
-#! PYTHON@
+#!/usr/bin/env python
 
 # GDBus - GLib D-Bus Library
 #



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]