Skip to content

Commit

Permalink
change uname check in scripts/install_protoc.sh for compatibility wit…
Browse files Browse the repository at this point in the history
…h macos (#767)

Signed-off-by: lugi0 <[email protected]>
  • Loading branch information
lugi0 authored Feb 6, 2025
1 parent 0d47ddb commit 5bffa1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euxo pipefail

OSTYPE=$(uname -s)
OS="linux"
if [[ ${OSTYPE,,} =~ darwin ]]; then
if [[ $OSTYPE =~ [Dd]arwin ]]; then
OS="osx"
fi

Expand Down

0 comments on commit 5bffa1f

Please sign in to comment.