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

Daniel Weinreb dlw at itasoftware.com
Tue Oct 13 08:05:37 PDT 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.
-- Dan

Tim Bradshaw wrote:
> On 10 Oct 2009, at 17:45, Waldek Hebisch wrote:
>> AFAICS on Solaris correct fix is to replace '/bin/sh' by
>> '/bin/posix/sh'.
> 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.
> --tim
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clozure.com/pipermail/openmcl-devel/attachments/20091013/dbf4586b/attachment.htm>

More information about the Openmcl-devel mailing list