Closing this ticket, as it was rather a problem with the non-posix-
compliant shell and not the QEMU build system.
** Changed in: qemu
Status: New => Won't Fix
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
It turns out that expr does not support ^ (at least according to the man
page). :-)
Still, you could do expr -$flag + 1 to do the same thing.
Is the ruckus just about this one place where $(( )) is used or are
there other non-Bourne-shell constructs?
--
You received this bug notification
I actually have bash installed as /bin/sh and /bin/bash.
But I also have heirloom sh installed, which installs itself as /sbin/sh, and
that happened to be first in my $PATH.
Since the makefiles use sh script to run the scripts, that called the
heirloom sh.
On 07/23/2014 10:13 AM, Felix von Leitner wrote:
I actually have bash installed as /bin/sh and /bin/bash.
But I also have heirloom sh installed, which installs itself as /sbin/sh, and
that happened to be first in my $PATH.
Since the makefiles use sh script to run the scripts, that called
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