Skip to content

Commit

Permalink
fix(installer): use portable uname flag
Browse files Browse the repository at this point in the history
  • Loading branch information
SKalt authored Sep 27, 2021
1 parent 7fe3558 commit 1c28ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/download_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ get_arch() {
esac
}
get_os() {
os="$(uname --operating-system | tr '[:upper:]' '[:lower:]')"
os="$(uname -s | tr '[:upper:]' '[:lower:]')"
case "$os" in
*linux) echo "linux";;
*darwin) echo "darwin";;
Expand Down

0 comments on commit 1c28ece

Please sign in to comment.