On 25 April 2013 02:00, seth bollinger <seth.b...@gmail.com> wrote:
> When the shell tests for rootfs type I was seeing "[[: not found".  I
> use echo and egrep to test for the xz rootfs type to work around this
> error.
>

'[[' should be a bash builtin. What host OS are you using for the build?

Also what's the exact error message? I'm wondering if this is somehow
being ran in a shell that isn't bash. With an unknown command 'abcd',
bash gives me "abcd: command not found" and dash gives me "dash: 1:
abcd: not found".

Using egrep for a test like this seems less readable to me.

--
Paul Barker

Email: p...@paulbarker.me.uk
http://www.paulbarker.me.uk
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to