Re: [Xen-devel] [OSSTEST PATCH 3/3] Shell fixup: Use bash in posix mode

2015-09-25 Thread Ian Campbell
On Thu, 2015-09-24 at 18:29 +0100, Ian Jackson wrote: > I have read through the wheezy > bash(1) manpage and searched for posix, and the following behavioural > differences are described: > > * Differences in interative startup (not relevant to us). > * Minor (irrelevant) differences in which

[Xen-devel] [OSSTEST PATCH 3/3] Shell fixup: Use bash in posix mode

2015-09-24 Thread Ian Jackson
When bash is started as /bin/sh it run in posix compatibility mode. But when invoked as /bin/bash it does some things ... differently. Most notably: Subshells spawned to execute command substitutions inherit the value of the -e option from the parent shell. When not in posix mode, bash