From 175ea23bfcbce7a6a9e900fe82e6242a84fc7913 Mon Sep 17 00:00:00 2001 From: veeso Date: Thu, 18 May 2023 11:53:21 +0200 Subject: [PATCH] fix: sh compliant macos.sh build script --- dist/build/macos.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/build/macos.sh b/dist/build/macos.sh index 2a3289b..632db05 100755 --- a/dist/build/macos.sh +++ b/dist/build/macos.sh @@ -81,7 +81,7 @@ fi # Build release (x86_64) X86_TARGET="" X86_TARGET_DIR="" -if [ "$ARCH" == "aarch64" ]; then +if [ "$ARCH" = "aarch64" ]; then X86_TARGET="--target x86_64-apple-darwin" X86_TARGET_DIR="target/x86_64-apple-darwin/release/" fi @@ -92,7 +92,7 @@ RET_X86_64=$? ARM64_TARGET="" ARM64_TARGET_DIR="" -if [ "$ARCH" == "aarch64" ]; then +if [ "$ARCH" = "aarch64" ]; then ARM64_TARGET="--target aarch64-apple-darwin" ARM64_TARGET_DIR="target/aarch64-apple-darwin/release/" fi