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

Re: [Fink-devel] zsh breaks configure scripts



On Mar 4, 11:58pm, Peter O'Gorman wrote:
} Subject: 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...

I presume he's sending it there because if you removed the bogus
CDPATH assignment from the test, zsh wouldn't print anything.

} 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 end resulting directory is printed only if zsh got there by following
a path in CDPATH.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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