Use the same Python as we found in configure

Don't assume /usr/bin/python is python 2.x, on newer Ubuntu versions
it's actually python 3.x.
This commit is contained in:
Johan Dahlin 2012-06-29 11:59:23 -03:00
parent df319ca49c
commit 08cfcdc81a
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ CLEANFILES += gdbus-codegen
EXTRA_DIST += gdbus-codegen.in
gdbus-codegen: gdbus-codegen.in Makefile $(codegen_PYTHON)
$(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' $< > $@.tmp && mv $@.tmp $@
$(AM_V_GEN) sed -e 's,@libdir\@,$(libdir),' -e 's,@PYTHON\@,$(PYTHON),' $< > $@.tmp && mv $@.tmp $@
@chmod a+x $@
clean-local:

View File

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