On Friday, May 10, 2002, at 09:41  AM, Chris Zubrzycki wrote:

> This is all being done with bas as a symlink? has anyone tried copying 
> bash to /sw/bin/sh and seeing if it still does not work? Bash entgers 
> into sh compatibility mode when it is invoked as sh...I don't think a 
> symlink is enough.
>
> If bash is the problem, why does it work so well on other distros? is 
> it a kernel issue?

When /bin/sh is a symlink to /sw/bash, bash sees "/bin/sh" as the name 
it is invoked with--so it *is* running in sh compatibility mode. The 
problem's we're seeing aren't with bash, but with zsh--in this case 
there's an error in the code, and an error in zsh, and the two wrongs 
happen to make a right. With bash, we only see the error in the 
code--but it's *correctly* finding this error.

The three problems that I brought up aren't relevant to bash on other 
distros. On other distros they don't try to execute system(";") since 
they're used to it failing; they don't use "(foo|bar)" syntax, since 
nothing but zsh supports it; and they don't use Darwin's archive_cmds, 
so that doesn't break.

Switching to bash is sort of like switching to -shlibs. It creates some 
problems initially just because it's slightly different from what we're 
used to, and we need to adjust. But there's nothing intrinsically wrong 
with it, and after we change a couple of things everything should work 
fine.

> sorry to reply to myelf, but I forgot to say something. I have done 
> this before, and have had no apparent side affects with 10.1.3. I 
> removed /bin/sh, and copied bash to /bin/sh. everything still worked, 
> AFAIK.

That's quite surprising. Did you try building any of the packages I 
listed? It would be quite surprising if bash was emulating zsh's broken 
implementation of 'test'.

Dave


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to