Shawn Walker wrote:
POSIX requires that you get a POSIX shell if you type "sh" after you
did setup a POSIX compliant PATH"

So, there's nothing disturbing about this at all.

Shawn, I would appreciate an advice on the following situation then:

I'm trying to port a software called Asterisk to Solaris. The software uses XPG4-compliant shell scripts in its build process. Those scripts use the non-standard '#!/bin/sh' as their first line. The scripts accidentally work on currently supported platforms, but fail on Solaris due to the fact that they use some XPG4 stuff which is not in Solaris /bin/sh.

So what do I do to make this work in Solaris? Changing the scripts so that they don't use all XPG4 features but only those which Solaris's /bin/sh happens to implement is not an option.

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to