diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-08 16:37:26 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-31 10:10:22 +0000 |
commit | becb32bb30a9fc8ffe3bf59bbe346297a5a8899a (patch) | |
tree | a5fa3644f71f46b4aa2e387852e5ebec2d18bab8 /bitbake/lib/bb/cooker.py | |
parent | fa34c42d192927345f8c6010bb8feb5ef12c73c5 (diff) | |
download | poky-becb32bb30a9fc8ffe3bf59bbe346297a5a8899a.tar.gz |
bitbake: data: Handle BASH_FUNC shellshock implication
The shellshock patches changed the way bash functions are exported.
Unfortunately different distros used slightly different formats,
Fedora went with BASH_FUNC_XXX()=() { echo foo; } and Ubuntu went with
BASH_FUNC_foo%%=() { echo foo; }.
The former causes errors in dealing with out output from emit_env,
the functions are not exported in either case any more.
This patch handles things so the functions work as expected in either
case.
[YOCTO #6880]
(Bitbake rev: 4d4baf20487271aa83bd9f1a778e4ea9af6f6681)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
0 files changed, 0 insertions, 0 deletions