| Steve Greenland 2005-08-11, 5:55 pm |
| On 10-Aug-05, 13:38 (CDT), Philip Brown <phil@bolthole.com> wrote:
>
> sigh.. okay, my "correction" had bugs, too :-)
> better as
>
>
> if [ ! -d ~root -a -x /usr/xpg4/bin/sh ] ; then
>
No, because that will let the script continue if there is no POSIX shell
available. You want it to exit immediately, rather than randomly fail
when you hit unsupported functionality.
As a practical matter, any modern Solaris (>=7, probably even 2.6 and 2.5)
machine has /usr/xpg4/bin/sh installed.
Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|