egcs installation bug/problem

Alexandre Oliva
Sat Apr 3 12:51:00 GMT 1999

On Apr  2, 1999, Ralf Canis <> wrote:

> Reason therefor is that "cd include" echos the full pathname of the directory
> that bash changes to due to CDPATH; hence the created tar file has one extra
> line at the beginning and extraction fails.

Although it's debatable whether bash should search CDPATH before
trying the specified directory, this consistent PATH search.

> I think "(unset CDPATH ; cd include; tar ...." should work too.

Unfortunately, `unset' isn't portable.  The attached patch should take 
care of it.  I'm installing it on the grounds of the `obviously
correct' rule.

Alexandre Oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}  aoliva@{,}
*** E-mail about software projects will be forwarded to mailing lists

More information about the Gcc-bugs mailing list