Tim Zingelman <tez%netbsd.org@localhost> writes:
This breaks the bootstrap for solaris.
/bin/sh on solaris cannot handle the construct...
I think that it is general concensus that one should not ever use /bin/sh on
Solaris.
# : ${OPSYS:=$(uname)}
syntax error: `(' unexpected
/usr/xpg4/bin/sh handles that.
# : ${OPSYS:=`uname`}
seems to work
But, also...
# id -un 0
id: illegal option -- u
Usage: id [-ap] [user]
# id -gn "root"
id: illegal option -- g
Usage: id [-ap] [user]
We should find a way to fix this before the branch is cut.
/usr/xpg4/bin/id handles that.
Thus, the solution for Solaris is the bog standard one,
have /usr/xpg4/bin in PATH before /usr/bin.