From f456bc7de7e072275e1a6a8423c33ed83e24845e Mon Sep 17 00:00:00 2001 From: Amitai Schleier Date: Mon, 14 Oct 2024 09:46:40 -0400 Subject: [PATCH] Check string equality more portably. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 1a2515a..01e7998 100755 --- a/install.sh +++ b/install.sh @@ -175,7 +175,7 @@ check_say() { check_installation_path() { location="$(command -v mob)" - if [ "$(determine_os)" == "windows" ]; then + if [ "$(determine_os)" = "windows" ]; then location=$(echo $location | sed -E 's|^/([a-zA-Z])|\U\1:|') fi if [ "$location" != "$target/mob" ] && [ "$location" != "" ]; then