On Thu, Apr 25, 2013 at 2:59 PM, Paul Barker <p...@paulbarker.me.uk> wrote:
> On 25 April 2013 13:51, Seth Bollinger <seth.b...@gmail.com> wrote: > > On Thu, Apr 25, 2013 at 7:38 AM, Paul Barker <p...@paulbarker.me.uk> > wrote: > >> > >> '[[' should be a bash builtin. What host OS are you using for the build? > > > > I'm using debian. I'll check what the default shell is. You're right, > it's > > probably dash. > > > > Try 'sudo dpkg-reconfigure dash'. > > > However, should this fail silently then? In this instance I only saw the > > error with debug enabled. Otherwise it silently tried to dd a compressed > > image to the sd card. Of course this didn't run. :) > > > > I assume that 'if' tries to run the command, gets a non-zero return > value as the command doesn't run and just interprets this as the > command running but returning non-zero. > > I think I asked Seth a while ago and he confirmed that bash was his shell. I thought about dash as well. But as a matter of fact we should remove bashisms and make things as usable as possible. So maybe his patch makes sense after all. -- *Andrei Gherzan* m: +40.744.478.414 | f: +40.31.816.28.12
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto