diff options
author | Ross Burton <ross.burton@intel.com> | 2013-05-30 17:55:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-30 21:10:23 +0100 |
commit | 3aaa4f78c609a47324da2db3b5c92a28f4f2ccff (patch) | |
tree | 42ad1eb0515aa5ced404bc351664e6d5523dc49d /meta/recipes-bsp/v86d | |
parent | 29049da22197bd05b88619b9e8caea7bbdd2ee46 (diff) | |
download | poky-3aaa4f78c609a47324da2db3b5c92a28f4f2ccff.tar.gz |
utils.bbclass: ensure $0 is correct in wrapper scripts
Some packages (eg mesa) will invoke a tool with --version and do string matches
on the output (i.e. mesa does $LEX --version |grep "^flex "). This doesn't work
with the combination of wrapper scripts and binaries that use $0 as they output
"flex.real".
Luckily bash's exec lets you set $0. As we want to use this we can't use env,
but using export appears to work just as well.
(From OE-Core rev: e8d2a2a3646f964ec61ece62e14788cd7184dd01)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/v86d')
0 files changed, 0 insertions, 0 deletions