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
This commit is contained in:
Ionut Biru 2011-08-24 19:09:53 +00:00 committed by Colin Walters
parent fe8ca95882
commit 33831bda24

View File

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