[Openmcl-devel] CCL startup script (ccl & ccl64) is not Bourne Shell compatible

Aleksej Saushev asau at inbox.ru
Tue Oct 13 14:18:52 PDT 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
>> '/bin/posix/sh'.

(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 mailing list