[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix to bootstrap
From: |
Reuben Thomas |
Subject: |
Re: Fix to bootstrap |
Date: |
Thu, 19 Apr 2012 19:37:08 +0100 |
On 19 April 2012 15:09, Jim Meyering <address@hidden> wrote:
>
> bootstrap will never use "cd -",
OK.
> and portable scripts should not rely on CDPATH.
CDPATH's behavior is specified by POSIX. I wasn't thinking that
scripts should rely on e.g. a particular CDPATH setting, but that the
user might use CDPATH to change a script's behavior, in the same way
as they might modify PATH or other standard environment variables.
> The idea is to make the code a little more future/maintenance proof.
I got that, I was trying to quantify the size of the problem, to
indicate how much a full analysis was actually worth.
Thanks for making that analysis and putting a fix in.
--
http://rrt.sc3d.org