On 19 April 2012 15:09, Jim Meyering <[email protected]> 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
