Peter Maydell <peter.mayd...@linaro.org> writes: > On 14 August 2018 at 18:44, Michele Denber <1785...@bugs.launchpad.net> wrote: >> On 08-14-2018 4:42 AM, Peter Maydell wrote: >>> >>> We do assume a posix shell and that that shell is /bin/sh. >>> We may have bugs where we assume non-posix behaviour >>> from it, since almost all users are going to be on systems >>> where /bin/sh is bash or dash or whatever the BSD /bin/sh is. >> Apparently Solaris is different in that regard (among others). > > Yeah. I'm not sure how much I care about supporting OSes that > decide to be totally different from everybody else, to be honest. > It's the 21st century and POSIX is a thing.
Setting SHELL=/usr/xpg4/bin/sh PATH=/usr/xpg6/bin:/usr/xpg4/bin:$PATH should make it a thing even on Solaris: https://docs.oracle.com/cd/E86824_01/html/E54776/standards-5.html A quick git-grep shows several hardcoded /bin/sh, so setting SHELL might not stick. Whether they're in the way of building I can't say. [...]