Re: Errors building git-1.5.2.2 on 64-bit Centos 5
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:17
David Kastrup [off-list ref] 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.