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:53 -0700 |
commit | 9a928c5f122e1e6fe3b0a420d62217e7b4f4bc74 (patch) | |
tree | bef089d6543459af5aad8dcc2dcccba3855b71ce /scripts/oe-trim-schemas | |
parent | 9104a32196405a4bf5312eccdc0d4a207f8bf9f1 (diff) | |
download | poky-9a928c5f122e1e6fe3b0a420d62217e7b4f4bc74.tar.gz |
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" ]
(From OE-Core rev: 3a116577446f02bda0ef4e035360293ff73c9eef)
Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-trim-schemas')
0 files changed, 0 insertions, 0 deletions