Thanks for the tip. The problem was spending 2 days to find that CDPATH was the problem. Since then I no longer have a problem. There are many ways to handle it. I can also start a subshell and unset CDPATH just for the make.
I am surprised it hasn't come up before. Nikos Valkanas Billing Services Technology & Operations Tel: +30 213 000 4087 hellas online Adrianiou 2, 11525 Athens, www.hol.gr IMPORTANT NOTICE: This email and any of its attachments and information contained herein are intended only for the recipient(s) named above and are privileged, confidential, protected by law and/or contain trade secrets. Any unauthorized use, e.g. review, printing, copying or distribution by other persons, is prohibited and may constitute a criminal offence. hellas online cannot accept any responsibility for the accuracy or completeness of this message as it may have been transmitted over a public network. P Please consider your environmental responsibility before printing this e-mail -----Original Message----- From: Chet Ramey [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 02, 2007 4:49 AM To: Valkanas Nikos Cc: Pierre Gaston; bug-bash@gnu.org Subject: Re: CDPATH bug Valkanas Nikos wrote: > Thanks. If I understand correctly you will follow up on this. > > Just to stress, this is not some "perk". It took me a while to figure > out that CDPATH was the culprit, and not been able to use make has been > a major > headache, since I am using gentoo. Regardless of whether or not this behavior is counter to what Posix.2 currently says (and it probably is), you could have done: CDPATH=. make to achieve the desired effect. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. No day but today. Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/