diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-04-03 14:48:27 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-16 14:08:15 +0100 |
commit | d76c68505c36dbf383a989f3c2458abc765e2c19 (patch) | |
tree | 3d3644d4e7dc13e17209ba2a2569b8eb2253b910 /scripts/lib/devtool/build_image.py | |
parent | 0bf875ea234bb9ff50d347345782e14d6b7d3ff9 (diff) | |
download | openembedded-core-d76c68505c36dbf383a989f3c2458abc765e2c19.tar.gz openembedded-core-d76c68505c36dbf383a989f3c2458abc765e2c19.tar.bz2 openembedded-core-d76c68505c36dbf383a989f3c2458abc765e2c19.zip |
base-files: profile: Simplify setting variables conditionally
It is preferred to use `[ "$FOO" ] || ...` instead of
`[ -z "$FOO" ] && ...` as the latter leaves $? set to 1.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/devtool/build_image.py')
0 files changed, 0 insertions, 0 deletions