On Friday 17 February 2006 1:12 pm, Ralf Wildenhues wrote:
> >   pwd_curdir="`$1`"
> >   pwd_srcdir="`cd $srcdir && $1`"
>
> The double quotes are not necessary here.

Not just unnecessary, but positively harmful.  Several shells will fail 
to parse this correctly, *including* the MSYS version of bash.  See:
https://sourceforge.net/mailarchive/message.php?msg_id=14306922
https://sourceforge.net/mailarchive/message.php?msg_id=14354463

> `pwd' may not support `-W' either.

`pwd -W' is an MSYS extension, (it displays the native MS-Windows path, 
rather than the POSIX style favoured by MSYS).  Some shells will simply 
ignore it, (e.g. `sh' on SunOS-5); others treat it as an error, (e.g. 
`bash' other than in MSYS, Cygwin's `ash').

Regards,
Keith.


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to