Skip to content

Commit

Permalink
php: fix shell syntax when comparing machine arch
Browse files Browse the repository at this point in the history
Signed-off-by: Claude Bing <[email protected]>
  • Loading branch information
Claude Bing committed Nov 11, 2021
1 parent 93aad82 commit 17d28b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-oe/recipes-devtools/php/php_8.0.12.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 17d28b6

Please sign in to comment.