Skip to content

Commit a9ab5e1

Browse files
committed
revert2
1 parent bfc2e7c commit a9ab5e1

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

build-tools/utils.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,8 @@ case $(uname -m) in
2323
*) fail "unsupported architecture: $(uname -m)"
2424
esac
2525

26-
: "${OS:=unset}"
27-
case "$OS" in
28-
unset)
29-
case "$OSTYPE" in
30-
darwin*) OS="mac" ;;
31-
linux*) OS="linux" ;;
32-
*) fail "unsupported platform: ${OSTYPE}"
33-
esac
34-
;;
35-
esac
26+
case "$OSTYPE" in
27+
darwin*) OS="mac" ;;
28+
linux*) OS="linux" ;;
29+
*) fail "unsupported platform: ${OSTYPE}"
30+
esac

0 commit comments

Comments
 (0)