Found this while testing automake on Solaris 10 with /usr/xpg4/bin/sh
as $CONFIG_SHELL.

 $ mkdir new && cd new
 $ touch foo
 $ /bin/sh -c 'a=.; echo "$a"/*' # Fine.
 ./foo
 $ /usr/xpg4/bin/sh -c 'a=.; echo "$a"/*' # Fine as well.
 ./foo
 $ /bin/sh -c 'a=. b=; echo "$b$a"/*' # Also fine.
 ./foo
 $ /usr/xpg4/bin/sh -c 'a=. b=; echo "$b$a"/*' # Bug!
 ./*

The bug should probably be documented somewhere in the autoconf
manual.  I might attempt a patch in the next days if nobody beats
me (but no promises).

Regards,
  Stefano

Reply via email to