Skip to content

Commit f456bc7

Browse files
committed
Check string equality more portably.
1 parent f37f16b commit f456bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ check_say() {
175175

176176
check_installation_path() {
177177
location="$(command -v mob)"
178-
if [ "$(determine_os)" == "windows" ]; then
178+
if [ "$(determine_os)" = "windows" ]; then
179179
location=$(echo $location | sed -E 's|^/([a-zA-Z])|\U\1:|')
180180
fi
181181
if [ "$location" != "$target/mob" ] && [ "$location" != "" ]; then

0 commit comments

Comments
 (0)