diff options
author | Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> | 2021-02-06 21:42:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-09 15:59:44 +0000 |
commit | b07b226d5d1b3acd3f76d8365bc8002293365999 (patch) | |
tree | d94bbec16e5c9162cd63904430011c9f4aaa5b88 /lib/bb/exceptions.py | |
parent | dc19606ada29a4d8afde4fcecd8ec986b47b867e (diff) | |
download | bitbake-b07b226d5d1b3acd3f76d8365bc8002293365999.tar.gz |
BBHandler: Don't classify shell functions that names start with "python*" as python function
If shell function name starts with 'python' or 'fakeroot' parser wrongly
assumes it's python/fakeroot function.
[YOCTO #14204]
Use regex lookahead assertions to check if 'python' expression is
followed by whitespace or '(' and if 'fakeroot' is followed by
whitespace.
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/exceptions.py')
0 files changed, 0 insertions, 0 deletions