]> code.ossystems Code Review - openembedded-core.git/commit
sstate.bbclass: fix sstate_hardcode_path()
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 12 Sep 2014 09:54:18 +0000 (02:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 Sep 2014 21:12:29 +0000 (22:12 +0100)
commit62722de6d0ec00608eacc2cb0396362aced00047
tree2c65e23e0f3ffe29037761b6e41f25fb6a5d6429
parentfe00d4f479c4fb5e4be5dda616a4de0a257ef6c3
sstate.bbclass: fix sstate_hardcode_path()

The "grep -e (x|y)" doesn't work, for example:
$ echo xy | grep -e '(x|y)'
No output

We can use "grep -E" (extended regexp) or "grep -e x -e y" to fix it.
It only affected the cross recipes.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sstate.bbclass