diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2018-07-19 20:19:40 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-26 13:16:40 +0100 |
commit | 543dd8e171f8028edd66965ffeb9fdbd9f1ad80e (patch) | |
tree | 5dd95e638318d0daa5bf8f467bf1485d0019bf3f /README.hardware | |
parent | f931b6fbcb0d564eeda05ea0857f2e3f27b65077 (diff) | |
download | poky-543dd8e171f8028edd66965ffeb9fdbd9f1ad80e.tar.gz |
base-files: profile: Avoid using "command" to determine if programs exist
Since the existence of "command" in itself is not guaranteed, using it
to determine if other executables exist is moot. Instead just run the
executables and let the shell determine if they exist. By piping stderr
to /dev/null we avoid unnecessary warnings in case they do not exist.
(From OE-Core rev: ba8510deb73e07f17be051fa15a91731ec10382f)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README.hardware')
0 files changed, 0 insertions, 0 deletions