Interesting.

echo $0 gives "bash"

ls -lah /bin/sh gives "dash"

The GUI User Settings application gives /bin/bash as the shell for my username.

So, I think I'm running bash.  Why, then does bitbake complain that I'm running 
dash???  Maybe bitbake logs in a new job and it gets the default shell from 
/bin/sh?
Can I safely ignore this?
Maybe change /bin/sh to point to bash?

Walt

On Aug 10, 2010, at 12:24 PM, Felipe Navarrete wrote:

> On Tue, Aug 10, 2010 at 11:32 AM, Walt Scrivens <[email protected]> wrote:
>> I don't now exactly how to do that.  I tried
>> 
>> su -s /bin/bash walts
>> 
>> and it worked as far as I could tell, but the results of bitbake aren't any 
>> different.  I still get a warning message about using dash.
>> How do I know what shell I'm running?
> 
> ls -lah /bin/sh
> 
> should be a symbolic link to dash or bash.
> 
> 
>> 
>> Walt
>> 
>> 
>> On Aug 10, 2010, at 10:09 AM, Mauricio Tavares wrote:
>> 
>>>      BTW, I found out it pays to specify the shell you want to run.
>>> For instance sh in some machines is but an alias to bash, but in
>>> others it is an alias to dash. Or even *gasp* the real bourne shell
>>> itself. I have been bitten by that a few times...
>> 
>> 
>> _______________________________________________
>> Angstrom-distro-users mailing list
>> [email protected]
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users
>> 
> 
> ls -lah /bin/sh
> 
> _______________________________________________
> Angstrom-distro-users mailing list
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users


_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to