]> code.ossystems Code Review - openembedded-core.git/commit
oe.path: add which_wild function
authorChristopher Larson <chris_larson@mentor.com>
Thu, 21 Jun 2018 21:08:19 +0000 (02:08 +0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Jul 2018 21:06:06 +0000 (22:06 +0100)
commitca276fe139129eec383d77768ba91b808c462b04
tree583be876871d9653786dd51e3dae3f3fec6891c7
parentae48ee6627e6c1c4f1fcc4ead40edc968e64f7fe
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>
meta/lib/oe/path.py