diff options
author | Matthieu Crapet <Matthieu.Crapet@ingenico.com> | 2014-03-12 10:15:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-12 06:04:46 -0700 |
commit | 3a116577446f02bda0ef4e035360293ff73c9eef (patch) | |
tree | 5b3d19a80ccf5058c88e4ebad6d15d9dd40dbeb0 /scripts/lib/mic/imager/liveusb.py | |
parent | a3ccbdffc04d16ae56699314dbd7ee8b6de75267 (diff) | |
download | openembedded-core-3a116577446f02bda0ef4e035360293ff73c9eef.tar.gz openembedded-core-3a116577446f02bda0ef4e035360293ff73c9eef.tar.bz2 openembedded-core-3a116577446f02bda0ef4e035360293ff73c9eef.zip |
oe-setup-builddir: small rework
Changes:
- drop useless subshell creation in test:
if ! (test -r "$BUILDDIR/conf/local.conf"); then$
- replace "source" builtin by "." (bashsism)
- fix indentation 4 spaces (drop some tabs too)
- fix return => exit (return is not allowed in main)
- drop "sed -i" (doesn't exist in BSD sed)
- for homogeneity, always use [ ] (instead of test)
- replace old [ "x" = "x$VAR" ] by [ -z "$VAR" ]
Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/mic/imager/liveusb.py')
0 files changed, 0 insertions, 0 deletions