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:31 +0100 |
commit | ba8510deb73e07f17be051fa15a91731ec10382f (patch) | |
tree | 5eac61e11c43fe4fc406f7d37cc8b4e8134e421c /scripts/lib/wic/misc.py | |
parent | 5797631dc7a68e10c848ef06dd9eed011bc06e34 (diff) | |
download | openembedded-core-ba8510deb73e07f17be051fa15a91731ec10382f.tar.gz openembedded-core-ba8510deb73e07f17be051fa15a91731ec10382f.tar.bz2 openembedded-core-ba8510deb73e07f17be051fa15a91731ec10382f.zip |
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.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic/misc.py')
0 files changed, 0 insertions, 0 deletions