From 17d28b6c7ce3493168f5a2abc7260c3176f72be5 Mon Sep 17 00:00:00 2001 From: Claude Bing Date: Thu, 11 Nov 2021 11:10:15 -0500 Subject: [PATCH] php: fix shell syntax when comparing machine arch Signed-off-by: Claude Bing --- meta-oe/recipes-devtools/php/php_8.0.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/php/php_8.0.12.bb b/meta-oe/recipes-devtools/php/php_8.0.12.bb index 300499de5c2..4c604911868 100644 --- a/meta-oe/recipes-devtools/php/php_8.0.12.bb +++ b/meta-oe/recipes-devtools/php/php_8.0.12.bb @@ -259,7 +259,7 @@ do_install:append:class-native() { create_wrapper ${D}${bindir}/php \ PHP_PEAR_SYSCONF_DIR=${sysconfdir}/ - if [ "$MACHINE_ARCH" == "x86" || "$MACHINE_ARCH" == "x86-64" ]; then + if [ "$MACHINE_ARCH" == "x86" ] || [ "$MACHINE_ARCH" == "x86-64" ]; then install -m 0755 ${WORKDIR}/build/ext/opcache/minilua ${D}${bindir}/ fi }