Hello Ralf,
Ralf Wildenhues wrote:
> AIX and HP-UX ksh do not like expanding an empty variable in a
> double-quoted shell case pattern:
>
> $ sh -c 'foo=""; case x in "$foo"*) echo good;; $foo*) echo hmm;; esac'
> hmm
> $ bash -c 'foo=""; case x in "$foo"*) echo good;; $foo*) echo hmm;; esac'
> good
>
> This causes differences in the generated {gllib,gltests}/Makefile.am
> files.
Weird...
> The fix is to simply avoid the quotes. I added a documentation note
> of caution
It's ugly, but with good comments it's OK. Can you add a comment explaining
the rationale of omitting the double-quotes very near? Rationales belong
in comments, not (only) in the ChangeLog entry.
Thanks!
Bruno