diff options
author | Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> | 2021-02-06 21:42:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 14:37:03 +0100 |
commit | 9bddcd4824ed94915a2b7cf96a13d4ada01c7f9d (patch) | |
tree | 24b274f6138e7583395d00415cf2ff8e3df20aed /lib/bb/data_smart.py | |
parent | a1987f240cdedc6a44bf255a3a76879aa4cd1cd3 (diff) | |
download | bitbake-9bddcd4824ed94915a2b7cf96a13d4ada01c7f9d.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/data_smart.py')
0 files changed, 0 insertions, 0 deletions