Use detected PYTHON shebang in gdbus-codegen
authorIonut Biru <ibiru@archlinux.org>
Wed, 24 Aug 2011 19:09:53 +0000 (19:09 +0000)
committerColin Walters <walters@verbum.org>
Thu, 25 Aug 2011 17:35:35 +0000 (13:35 -0400)
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

index 0fbacb3..94c0863 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!@PYTHON@
 
 # GDBus - GLib D-Bus Library
 #