[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ensure a VPATH build (was: new macro)
From: |
Keith Marshall |
Subject: |
Re: ensure a VPATH build (was: new macro) |
Date: |
Sat, 18 Feb 2006 10:26:30 +0000 |
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.
- new macro, Julien Lecomte, 2006/02/16
- ensure a VPATH build (was: new macro), Ralf Wildenhues, 2006/02/17
- Re: ensure a VPATH build (was: new macro),
Keith Marshall <=
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/18
- Re: ensure a VPATH build, Keith Marshall, 2006/02/18
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/18
- Re: ensure a VPATH build, Keith Marshall, 2006/02/18
- double-quoted command substitutions (was: ensure a VPATH build), Ralf Wildenhues, 2006/02/18
- Re: double-quoted command substitutions (was: ensure a VPATH build), Keith Marshall, 2006/02/18
- Re: ensure a VPATH build, Keith Marshall, 2006/02/18
- Re: ensure a VPATH build, Andreas Schwab, 2006/02/18
- Re: ensure a VPATH build, Ralf Wildenhues, 2006/02/19
- Re: ensure a VPATH build, Keith MARSHALL, 2006/02/21