diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2017-03-25 14:03:55 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-27 11:08:34 +0100 |
commit | f5187871ce03fc24cb0017cff1089a288f50a24f (patch) | |
tree | 83fa8184f091b1eacaecdb689609cdfdda2a6f5f /meta/classes/populate_sdk_base.bbclass | |
parent | 871363251a2de8fd701e80f711fbd3770dbf992e (diff) | |
download | poky-f5187871ce03fc24cb0017cff1089a288f50a24f.tar.gz |
classes: Replace "if test" file tests with POSIX file testsuninative-1.6
In entire meta/classes/ directory, replace shell tests of the form
"if test -? ..." with POSIX tests of the form "if [ -? ...
(From OE-Core rev: 78928016f4cf38cf6751cb089200bf950d07ae93)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/populate_sdk_base.bbclass')
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass index dd3cac5d69..563582e0a0 100644 --- a/meta/classes/populate_sdk_base.bbclass +++ b/meta/classes/populate_sdk_base.bbclass | |||
@@ -246,8 +246,7 @@ populate_sdk_log_check() { | |||
246 | 246 | ||
247 | echo "log_check: Using $lf_path as logfile" | 247 | echo "log_check: Using $lf_path as logfile" |
248 | 248 | ||
249 | if test -e "$lf_path" | 249 | if [ -e "$lf_path" ]; then |
250 | then | ||
251 | ${IMAGE_PKGTYPE}_log_check $target $lf_path | 250 | ${IMAGE_PKGTYPE}_log_check $target $lf_path |
252 | else | 251 | else |
253 | echo "Cannot find logfile [$lf_path]" | 252 | echo "Cannot find logfile [$lf_path]" |