aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-03-30 14:34:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-30 16:41:13 +0100
commitc0b94f02f0cba7a424aaa16cf98c0f7a3f62b889 (patch)
treecaed764dd2fd43f859a8c71f31a4d409f8aad919 /bin
parent6a917ec99d659e684b15fa8af94c325172676062 (diff)
downloadbitbake-c0b94f02f0cba7a424aaa16cf98c0f7a3f62b889.tar.gz
bb/utils: extend which() so it can look for just executables
Normally bb.utils.which() is used by the unpack code to find a file in a variety of places, but it is useful as a slightly more powerful version of os.which(). Support this by allowing it to only return matches which are executable files, instead of just the first filename that matches. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions