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:28 +0100 |
| commit | 8033fd4ad15e9c7406f0a477484af98270653ca6 (patch) | |
| tree | 90baa4e453c9485ce9aa6acf3e5cbea95857f235 /scripts/lib/scriptpath.py | |
| parent | ad2778693eaa19f591dca5795ed77f3f878546de (diff) | |
| download | poky-8033fd4ad15e9c7406f0a477484af98270653ca6.tar.gz | |
base-files: profile: Simplify setting variables conditionally
It is preferred to use `[ "$FOO" ] || ...` instead of
`[ -z "$FOO" ] && ...` as the latter leaves $? set to 1.
(From OE-Core rev: d76c68505c36dbf383a989f3c2458abc765e2c19)
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 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions
