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