Many systems have python in /usr/local/bin Should probably change this to #!/usr/bin/env python2 Not sure what to do about the -s... (since shbangs take only 1 argument).
I suppose we could have a configure check and a substitution macro. I'll try a patch.
Created attachment 90532 [details] [review] [PATCH] Don't hardcode python path Instead, use automake to find it at runtime and put #!@PYTHON@ at the top of itstool.in.
Pushed to master. Thanks.
The file 'configure.ac' calls 'python' binary, but Arch Linux has Python 2 binary named to 'python2'. This breaks the compilation. Would it be possible to use something more portable, like a $PYTHON variable?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.