[EMAIL PROTECTED] wrote:
Here's the situation. The software that I've mentioned contains several scripts to build itself. Those scripts are XPG4 compliant and they have '#!/bin/sh' as their first line. The scripts use some features that Solaris's /bin/sh does not grok.


You could make the first line of the scripts:

        #!/usr/bin/env sh

and set $PATH to find the proper shell.

That however assumes that the user calling the script has /usr/xpg4/bin in their path. Which IMO is a fundamental problem with the specification since it actually allows for this problem to occur.

--
Darren J Moffat
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to