On Fri, Jan 09, 2009 at 10:00:12AM -0600, Tom Mueller wrote:

>> cli/t_actuators.py:
>>   lines 167, 172: let's not use /bin/sh.  who knows what shell that will 
>> be?  instead, specify /usr/bin/bash or /usr/bin/ksh or /usr/bin/ksh93.  
>> /bin/sh is undefined.
> None of those shells exist on Linux either. Linux doesn't include any 
> shells in /usr/bin. I had thought that /bin/sh was a pretty standard way to 
> reference a POSIX shell.

There's no standard way to reference a POSIX shell.  /bin/sh isn't
guaranteed by any standards to be anything, though conventionally, it's
Bourne-shell-like.  You might be able to find a POSIX shell by finding the
first shell in the path returned from "getconf _CS_PATH", but even then
it's not guaranteed to be there.

The best you can do is find a path that's available on the platforms you
care about, and use the shell subset that's common to those shells.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to