summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-04-12 15:32:54 -0500
committerMatt A. Tobin <email@mattatobin.com>2022-04-12 15:32:54 -0500
commit4fa4c96748e8a342c5bedb94c5af0b6ed8b0ce35 (patch)
tree98b4bae24277ee6e86e668f5e324a44fac2bdfc8 /mach
parentd534461e6d3c7a3dfc2d200ed478ecce998a1a47 (diff)
downloadaura-central-4fa4c96748e8a342c5bedb94c5af0b6ed8b0ce35.tar.gz
Keep fix sh compat on mach-stub
Diffstat (limited to 'mach')
-rwxr-xr-xmach4
1 files changed, 2 insertions, 2 deletions
diff --git a/mach b/mach
index f940aea67..23587b7b8 100755
--- a/mach
+++ b/mach
@@ -21,7 +21,7 @@ fi
if [[ "$BINOC_TARGET_OS" == "mingw32_nt-"* ]]; then
BINOC_TARGET_OS=windows
- if [ "$BINOC_CONFIG_GUESS" == "x86_64-pc-mingw32" ]; then
+ if [[ "$BINOC_CONFIG_GUESS" == "x86_64-pc-mingw32" ]]; then
BINOC_CONFIG_GUESS=win64
else
BINOC_CONFIG_GUESS=win32
@@ -33,7 +33,7 @@ export BINOC_CONFIG_GUESS=$BINOC_CONFIG_GUESS
# =====================================================================================================================
-if [ "$1" == "webpatch" ] && [ -n "$BINOC_GIT" ] && [ -n "$BINOC_CURL" ]; then
+if [[ "$1" == "webpatch" ]] && [[ -n "$BINOC_GIT" ]] && [[ -n "$BINOC_CURL" ]]; then
if [ -z "$2" ]; then
printf "Patch with what?"
exit 1