Skip to content

Commit

Permalink
Merge pull request #487 from salehparsa/fixed-variable
Browse files Browse the repository at this point in the history
Fixed the OS Variable on initOS
  • Loading branch information
hypnoglow authored Feb 2, 2025
2 parents 6fbd687 + f9e6a45 commit c7ad077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ initArch() {
initOS() {
os=$(uname -s)
binary_extension=""
case "$(os)" in
case ${os} in
Darwin) os="darwin" ;;
Linux) os="linux" ;;
CYGWIN*|MINGW*|MSYS_NT*) os="windows"; binary_extension=".exe" ;;
*)
echo "OS '$(os)' not supported!" >&2
echo "OS '${os}' not supported!" >&2
exit 1
;;
esac
Expand Down

0 comments on commit c7ad077

Please sign in to comment.