From: Uwe Kleine-König Date: Tue, 07 Aug 2007 12:45:26 GMT Subject: Re: git-sh-setup.sh:cd_to_toplevel problematic with symlinks Message-ID: <20070807124526.GA11230@informatik.uni-freiburg.de> In-Reply-To: <20070807101155.GA19233@moooo.ath.cx> Hello Matthias, Matthias Lederhofer wrote: > Your mail did not make it to the list, therefore I quote the full > mail. Ops, thanks. > Uwe Kleine-König wrote: > > > Is there any way to tell cd to ignore $PWD? > > cd -P ... does the trick. IIRC it's in SUSv3, but once more, Solaris > > /bin/sh doesn't know about that option: > > [...] > > Do we care about that shell? There was another thread about shell > script cleanup where the default sun /bin/sh doesn't support some > other features from the git shell scripts too. Ah, I see, Makefile defines SHELL_PATH for SunOS to /bin/bash anyhow. OK, then maybe just use it and if it breaks for someone we will notice it ... Best regards Uwe -- Uwe Kleine-König http://www.google.com/search?q=12+mol+in+dozen