Skip to content

Commit

Permalink
Remove redundant statement
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng authored and gregorriegler committed Oct 6, 2024
1 parent 2693ce2 commit 09ee97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ check_say() {
check_installation_path() {
location="$(command -v mob)"
if [ "$(determine_os)" == "windows" ]; then
location=$(echo $location | sed -E 's|^/([a-zA-Z])|\U\1:|; s|/|/|g')
location=$(echo $location | sed -E 's|^/([a-zA-Z])|\U\1:|')
fi
if [ "$location" != "$target/mob" ] && [ "$location" != "" ]; then
echo "(!) The installation location doesn't match the location of the mob binary."
Expand Down

0 comments on commit 09ee97d

Please sign in to comment.