tools/ci/platforms/darwin.sh: fix mkdir: wamrc: File exists

mkdir wamrc -> mkdir -p wamrc
This commit is contained in:
simbit18 2024-03-01 18:03:37 +01:00 committed by Xiang Xiao
parent 7d45afe871
commit 1cd8413d19

View File

@ -20,6 +20,7 @@
############################################################################
# Darwin
# Prerequisites for macOS
# - Xcode (cc, etc)
# - homebrew
@ -284,7 +285,7 @@ wasi_sdk() {
wasibasefile=wasi-sdk-19.0-macos
wasmbasefile=wamrc-1.1.2-x86_64-macos-latest
cd "${NUTTXTOOLS}"
mkdir wamrc
mkdir -p wamrc
wget --quiet https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-19/${wasibasefile}.tar.gz
tar xzf ${wasibasefile}.tar.gz
mv wasi-sdk-19.0 wasi-sdk