diff options
author | Christopher Larson <chris_larson@mentor.com> | 2018-06-22 02:08:19 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-02 22:06:06 +0100 |
commit | ca276fe139129eec383d77768ba91b808c462b04 (patch) | |
tree | 583be876871d9653786dd51e3dae3f3fec6891c7 /scripts/lib/scriptutils.py | |
parent | ae48ee6627e6c1c4f1fcc4ead40edc968e64f7fe (diff) | |
download | openembedded-core-ca276fe139129eec383d77768ba91b808c462b04.tar.gz openembedded-core-ca276fe139129eec383d77768ba91b808c462b04.tar.bz2 openembedded-core-ca276fe139129eec383d77768ba91b808c462b04.zip |
oe.path: add which_wild function
This is a function much like shutil.which or bb.utils.which, retaining
shutil.which-like function semantics, bb.utils.which's support for
returning available candidates for signatures, and most importantly,
supports wildcards, returning only the first occurrance of each found
pathname in the search path.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions