From f5187871ce03fc24cb0017cff1089a288f50a24f Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sat, 25 Mar 2017 14:03:55 -0400 Subject: classes: Replace "if test" file tests with POSIX file tests 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 Signed-off-by: Richard Purdie --- meta/classes/kernel-uimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/kernel-uimage.bbclass') diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass index 7e7185f903..e2e9b63110 100644 --- a/meta/classes/kernel-uimage.bbclass +++ b/meta/classes/kernel-uimage.bbclass @@ -23,7 +23,7 @@ do_uboot_mkimage() { uboot_prep_kimage ENTRYPOINT=${UBOOT_ENTRYPOINT} - if test -n "${UBOOT_ENTRYSYMBOL}"; then + if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \ awk '$3=="${UBOOT_ENTRYSYMBOL}" {print $1}'` fi -- cgit v1.2.3-54-g00ecf