On Thu, Mar 03, 2011 at 06:41:00PM +0100, Matthias Klose wrote:
> replacing
> case X"${with_cpu}" in
> with
> case X${with_cpu} in
>
> lets the match suceed with bash-4.2.6. bash-4.1.x works with both variants.
Confirmed here:
imadev:~$ bash-4.1.9 -c 'unset a; case X"${a}" in X) echo good;; *) echo bad;;
esac'
good
imadev:~$ bash-4.2.6 -c 'unset a; case X"${a}" in X) echo good;; *) echo bad;;
esac'
bad
