diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2021-08-02 17:23:27 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 08:53:04 -0700 |
commit | 3f36657af2a203ef77acbff7b0c5be4098c67f25 (patch) | |
tree | 05e57a9c1107985cd652dbcf0a0a90a548caebe5 /meta-python/recipes-devtools/python/python-flask-script.inc | |
parent | f0b8ee3702ab8632fc4710c76a6643357ae9185f (diff) | |
download | meta-openembedded-3f36657af2a203ef77acbff7b0c5be4098c67f25.tar.gz |
android-tools: fix install of adb client when TOOLS is overridden
Overriding TOOLS with 'adb' as the only entry, or with 'adb' as the
final entry in the list fails to match the grep pattern. The current
pattern includes trailing whitespace, likely to distinguish it from
'adbd'. However since `${TOOLS}` is then passed to grep unquoted, any
trailing whitespace would be dropped by the shell.
Fixed by replacing the trailing whitespace with '\>' to mark the end of
the word, which continues to ensure we don't match against 'adbd'.
Signed-off-by: Ben Brown <ben.brown@codethink.co.uk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-flask-script.inc')
0 files changed, 0 insertions, 0 deletions