Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Fink-devel] zsh breaks configure scripts



And why are you sending this here? Fink has no control over which shell Apple decides to ship, although they will eventually move to using bash as /bin/sh, probably not until 10.2 or even later...

Peter

On Monday, March 4, 2002, at 11:51  PM, Eric Norum wrote:

Apple uses zsh as /bin/sh on Mac OS X. Unfortunately zsh has a `feature' that breaks many autoconf configure scripts. The scripts contain lines like:
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" && .......

The problem is that the zsh cd command insists on printing the directory!

The offending code is in cd_new_pwd() in Src/builtins.c around line 1047:



Messages sorted by: Reverse Date, Date, Thread, Author