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
This commit is contained in:
Dieter Verfaillie 2011-08-25 10:45:40 +01:00 committed by Colin Walters
parent cd0cd95078
commit acb5b852c1
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ CLEANFILES += gdbus-codegen
EXTRA_DIST += gdbus-codegen.in EXTRA_DIST += gdbus-codegen.in
gdbus-codegen: gdbus-codegen.in Makefile 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 $@ @chmod a+x $@
clean-local: clean-local:

View File

@ -1,4 +1,4 @@
#!@PYTHON@ #!/usr/bin/env python
# GDBus - GLib D-Bus Library # GDBus - GLib D-Bus Library
# #