[Openmcl-devel] CCL startup script (ccl & ccl64) is not Bourne Shell compatible
asau at inbox.ru
Tue Oct 13 17:18:52 EDT 2009
Tim Bradshaw <tfb at tfeb.org> writes:
> On 10 Oct 2009, at 17:45, Waldek Hebisch wrote:
>> AFAICS on Solaris correct fix is to replace '/bin/sh' by
(Wasn't it "/usr/xpg4/bin"?)
> If we assume that all systems have a decent ksh or bash somewhere in
> the path, then the best approach is generally to have the ban line be
> #!/usr/bin/env bash
> Which will find the appropriate shell (use ksh if preferred).
...And opens can of worms, because it searches PATH.
It would be better if you realize it sooner and stop this bad practice.
More information about the Openmcl-devel