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:13:52 +0000 (22:13 +0100)
commit1ec4ec16eeeedf94255dfcea9a7aed15dfc1a435
treefb503d8a38157759d87664c472f97dec35a9a8d1
parentf923c5b31c7869bf76f1ddb42a4008cde1f7deec
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.

(From OE-Core rev: 62722de6d0ec00608eacc2cb0396362aced00047)

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