[opensuse] Re: [opensuse-programming] Need help with #!/usr/bin//python
On Wed, 16 Dec 2009 20:42:06 +0200, you wrote:
as the header already, the python script .in files had "#!@PYTHON@"
I'd bet it's configure that will transform the name. @<something>@ is mostly used in autoconf stuff. I'd simply do a 'fgrep @PYTHON@ $(find . -type f)' to search for the culprit. If that fails because of too many files found do find . -type f -print0 | xargs -0 fgrep @PYTHON@
with a patch for the python py.in files to replace "#!@PYTHON@" with "#!/usr/bin/python" and it worked but I would really like to know where it went wrong.
See above. I'll bet it contains a sed command like "s%@PYTHON@%${prefix}/bin%g" or something similarly stupid. But let's wait and see :) Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Philipp Thomas