Thomas Huth <th...@redhat.com> writes: > On 2018-10-15 08:51, Mao Zhongyi wrote: >> Various shell files contain a mix between obsolete `` and >> modern $(); use of `` is only required when using /bin/sh >> on Solaris. It would be nice to convert to using $() >> everywhere, or at least in all bash scripts, as well as in >> all scripts that are known to not be run on Solaris. > > FWIW, I think we do not have to worry about Solaris' /bin/sh here > anymore. Somebody tried to compile on Solaris a couple of weeks ago, and > found out that you need a proper POSIX-compliant shell for compiling > QEMU, so /bin/sh can not be used here anymore anyway.
Try SHELL=/usr/xpg4/bin/sh PATH=/usr/xpg6/bin:/usr/xpg4/bin:$PATH to make Solaris behave. See also Message-ID: <878t58s2kb....@dusky.pond.sub.org> https://lists.nongnu.org/archive/html/qemu-devel/2018-08/msg02641.html