Re: [Hampshire] Shell script not working under Ubuntu Edgy /…

Top Page

Reply to this message
Author: John Wesley
Date:  
To: Tony Whitmore, Hampshire LUG Discussion List
CC: 
Subject: Re: [Hampshire] Shell script not working under Ubuntu Edgy / Feisty
On 04/05/07, Tony Whitmore <tony@???> wrote:
>
> On Fri, May 04, 2007 at 09:24:36AM +0100, John Wesley wrote:
> > On 04/05/07, Tony Whitmore <tony@???> wrote:
> > >On Fri, May 04, 2007 at 08:26:51AM +0100, John Wesley wrote:
> > >> I think Edgy uses Dash as it's shell rather than Bash. But I have no
> > >idea
> > >> if that's causing your problem!
> > >
> > >It is! :)
> > >
> > >Y'see I *knew* that sh was linked to dash, but I didn't know it had
> > >changed
> > >from Dapper to Edgy. Running "bash install" works.
> >
> > No probs - that's caught me out a few time too :)
>
> I've ended up changing /bin/sh to point to /bin/bash not /bin/dash as the
> software, once installed, has a lot of shell scripts that assume /bin/sh
> points to bash. Rather than editing them all, I changed the symlink. I'm
> not
> sure whether this will break anything else though? Any alarm bells?
>
> Tony



That's what I did too - hasn't broken anything yet....