[Openmcl-devel] CCL startup script (ccl & ccl64) is not Bourne Shell compatible
dlw at itasoftware.com
Tue Oct 13 15:05:37 UTC 2009
Pardon me for the Linux-newbie question, but:
what does "/usr/bin/env" do if you don't give
it any options? The man page sort of makes it
look like a no-op if you don't say -i or NAME=VALUE.
Tim Bradshaw wrote:
> On 10 Oct 2009, at 17:45, Waldek Hebisch wrote:
>> AFAICS on Solaris correct fix is to replace '/bin/sh' by
> 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).
> It certainly is the case that Solaris's /bin/sh is a non-Posix shell
> (in other words, it's actually the Bourne shell rather than some
> remote souped-up descendent of it): I think they're pretty wary of
> changing it and causing a huge number of poorly-written customer
> scripts to break.
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel