Skip to content

Commit dbbbe56

Browse files
author
Claude Bing
committed
php: fix shell syntax when comparing machine arch
Signed-off-by: Claude Bing <[email protected]>
1 parent 659ab65 commit dbbbe56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meta-oe/recipes-devtools/php/php_8.0.12.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ do_install:append:class-native() {
259259
create_wrapper ${D}${bindir}/php \
260260
PHP_PEAR_SYSCONF_DIR=${sysconfdir}/
261261

262-
if [ "$MACHINE_ARCH" == "x86" || "$MACHINE_ARCH" == "x86-64" ]; then
262+
if [ "$MACHINE_ARCH" == "x86" ] || [ "$MACHINE_ARCH" == "x86-64" ]; then
263263
install -m 0755 ${WORKDIR}/build/ext/opcache/minilua ${D}${bindir}/
264264
fi
265265
}

0 commit comments

Comments
 (0)