We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbc2cb4 commit 405d3acCopy full SHA for 405d3ac
build.sh
@@ -1,9 +1,9 @@
1
setup() {
2
- local CPUS=1
3
- if [[ "$OS" == "Windows_NT" ]]; then
+ CPUS=1
+ if [ "$OS" = "Windows_NT" ]; then
4
CPUS=$(powershell -Command "[Environment]::ProcessorCount")
5
else
6
- if [[ "$(uname -s | tr '[:upper:]' '[:lower:]')" == "darwin" ]]; then
+ if [ "$(uname -s | tr '[:upper:]' '[:lower:]')" = "darwin" ]; then
7
CPUS=$(sysctl -n hw.ncpu)
8
brew install wabt
9
0 commit comments