On 12/09/2015 05:57 PM, Marc-André Lureau wrote: > Hi > > On Thu, Dec 10, 2015 at 1:53 AM, <marcandre.lur...@redhat.com> wrote: >> From: Marc-André Lureau <marcandre.lur...@redhat.com> >> >> "type" is not POSIX shell, but a bashism. (found thanks to shellcheck) >> > > A subsidiary question is whether qemu really care about using POSIX > shell, or we can just depend on bashism. That would help with > simplifying some Makefile lines too.
Debian uses dash, not bash, as /bin/sh. As both 'configure' and 'Makefile' depend on '/bin/sh', then yes, we care about POSIX compliance. Only in scripts that explicitly require /bin/bash, such as much of the scripts under tests/, can we get away with bashisms. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature