Skip to content

Commit 8589ee0

Browse files
committed
fix build OS when setting macos
1 parent 8bfd935 commit 8589ee0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-tools/utils.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ esac
2525

2626
: "${OS:=unset}"
2727
case "$OS" in
28+
macos) OS="mac" ;;
2829
unset)
2930
case "$OSTYPE" in
3031
darwin*) OS="mac" ;;
3132
linux*) OS="linux" ;;
3233
*) fail "unsupported platform: ${OSTYPE}"
3334
esac
3435
;;
35-
esac
36+
esac

0 commit comments

Comments
 (0)