You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/03/02 18:31:00 UTC

(nuttx) branch master updated: tools/ci/platforms/darwin.sh: fix mkdir: wamrc: File exists

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 1cd8413d19 tools/ci/platforms/darwin.sh: fix mkdir: wamrc: File exists
1cd8413d19 is described below

commit 1cd8413d19225100874c08b8f370dca168c72388
Author: simbit18 <10...@users.noreply.github.com>
AuthorDate: Fri Mar 1 18:03:37 2024 +0100

    tools/ci/platforms/darwin.sh: fix mkdir: wamrc: File exists
    
    mkdir wamrc -> mkdir -p wamrc
---
 tools/ci/platforms/darwin.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/ci/platforms/darwin.sh b/tools/ci/platforms/darwin.sh
index 87d6c02e59..f613a4de04 100755
--- a/tools/ci/platforms/darwin.sh
+++ b/tools/ci/platforms/darwin.sh
@@ -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