diff options
author | Ross Burton <ross.burton@intel.com> | 2017-03-30 14:34:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-31 10:08:36 +0100 |
commit | 8ce18c5c4402243dc2ce7e6648e0d343acef46ef (patch) | |
tree | 3a2189648891a47ffa793ddef7887672322dc181 /documentation/dev-manual | |
parent | f46846dc118a3132eee5aeddb43570b8343afc0a (diff) | |
download | poky-8ce18c5c4402243dc2ce7e6648e0d343acef46ef.tar.gz |
bitbake: 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.
(Bitbake rev: c0b94f02f0cba7a424aaa16cf98c0f7a3f62b889)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
0 files changed, 0 insertions, 0 deletions