From: Junio C Hamano Date: Tue, 19 Jun 2007 21:11:32 GMT Subject: Re: Errors building git-1.5.2.2 on 64-bit Centos 5 Message-ID: <7vk5tzwsxn.fsf@assigned-by-dhcp.pobox.com> In-Reply-To: <86k5u0q8q9.fsf@lola.quinscape.zz> David Kastrup writes: > Not sure whether this is the problem: either cd does not understasnd > the double slashes, or your shell used for scripts has modified cd to > output some stuff when it is working (people sometimes imprudently > make shell functions or aliases for this). > > Try writing something like > > type cd > > in a script file and see what output you get. A one-word guess: CDPATH. Bill, setting CDPATH in your interactive shell as a shell variable is Ok, but exporting it as an environment does not make much sense. Really.