On 23 July 2014 17:31, Eric Blake <ebl...@redhat.com> wrote: > Rather than change the Makefile to invoke the script with bash, we could > instead bend over backwards to rewrite the script in a way that works > with non-POSIX shells (as in, flag=`expr $flag ^ 1`), but that feels > backwards to me. Until someone is actively worried about porting qemu > to a true Solaris environment, rather than just an heirloom-as-/bin/sh > Linux environment, I don't think it's worth the effort.
My view on this has always been "we shouldn't assume bash, but we can assume POSIX shell semantics". (And also that we should assume /bin/sh is a POSIX shell, because it's the 21st century, and Solaris should just get with it :-)) thanks -- PMM