egcs installation bug/problem

Alexandre Oliva oliva@dcc.unicamp.br
Sat Apr 3 12:51:00 GMT 1999


On Apr  2, 1999, Ralf Canis <ralf@silicon.org> 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 http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}@dcc.unicamp.br  aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists


More information about the Gcc-bugs mailing list