[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] bash
On Mon, 29 Sep 2014 22:03:11 , Vincent Rivière <vincent.riviere@freesbee.fr> wrote:
> On 29/09/2014 21:54, Peter Slegg wrote:
> > I think I have installed the 020-060 version properly but I still
> > get the error from the first line of the test script which I don't
> > understand:
> > ...
> > bash-4.3# env X="() { :;} ; echo busted" /bin/sh -c "echo completed"
>
> This way, you run /bin/sh. And there is no "sh" in my package.
> On my setup, I /sbin/sh is a symlink to /bin/bash.
>
> In other words:
> Try "/bin/sh --version". You will see that it's your old shell.
> Then fix it by making /bin/sh a symlink to the right thing.
>
Almost:
bash-4.3# /bin/sh --version
GNU bash, version 2.05a.0(1)-release (m68k-atari-mint)
Copyright 2001 Free Software Foundation, Inc.
/bin/sh looks to be another copy of bash 2.05.
bash-4.3# ls /bin/sh -l
-rwxr-xr-x 1 root root 307770 Jan 27 2004 /bin/sh
I always thought it was another type of shell.
Peter