mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	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:
		@@ -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:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
#!/usr/bin/env python
 | 
			
		||||
#!@PYTHON@
 | 
			
		||||
 | 
			
		||||
# GDBus - GLib D-Bus Library
 | 
			
		||||
#
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user