gdbus-codegen: Revert to using /usr/bin/env for Python
authorDieter Verfaillie <dieterv@optionexplicit.be>
Thu, 25 Aug 2011 09:45:40 +0000 (10:45 +0100)
committerColin Walters <walters@verbum.org>
Thu, 25 Aug 2011 21:19:27 +0000 (17:19 -0400)
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
gio/gdbus-2.0/codegen/gdbus-codegen.in

index 1b3aba8..145ccba 100644 (file)
@@ -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:
index aaffd5d..16360d6 100644 (file)
@@ -1,4 +1,4 @@
-#!@PYTHON@
+#!/usr/bin/env python
 
 # GDBus - GLib D-Bus Library
 #