Skip to content

Commit

Permalink
install: show arch/os on error
Browse files Browse the repository at this point in the history
  • Loading branch information
progrium committed Apr 26, 2024
1 parent 5ac42c3 commit fc6b462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ main() {
# WSL uses msys or cygwin as OSTYPE
os="windows"
else
echo "Error: Unsupported operating system"
echo "Error: Unsupported operating system: $OSTYPE"
exit 1
fi

Expand All @@ -49,7 +49,7 @@ main() {
elif [[ "$(uname -m)" == "arm64" ]]; then
arch="arm64"
else
echo "Error: Unsupported architecture"
echo "Error: Unsupported architecture: $(uname -m)"
exit 1
fi

Expand Down

0 comments on commit fc6b462

Please sign in to comment.