On 12/16/2009 06:13 PM, Philipp Thomas wrote:
* Dave Plater (dplater@webafrica.org.za) [20091205 18:35]:
I fixed the problem by patching the .in files replacing "#!@PYTHON@" with "#!/usr/bin/python".
Why was the original a problem? Bash will happily accept a double slash in the path.
Philipp
Build service and rpmbuild didn't except it so I made a patch to remove the // and all is well BTW it wasn't a bash script it was a python one. I'm still learning but all of the bash script .in files had #!/bin/bash as the header already, the python script .in files had "#!@PYTHON@" before compilation and they compiled with the //. I worked around this 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. Thanks Dave P -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org