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

masayuki 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 3c99c5cf45 tools/ci/cibuild.sh: Fix destination path 
'pinguino-compilers' already exists and is not an empty directory.
3c99c5cf45 is described below

commit 3c99c5cf45d109e72beba8a2f5cbacddd14f868d
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Mon Dec 12 10:47:46 2022 +0800

    tools/ci/cibuild.sh: Fix destination path 'pinguino-compilers' already 
exists and is not an empty directory.
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 tools/ci/cibuild.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/ci/cibuild.sh b/tools/ci/cibuild.sh
index 40956c600d..71a93ef360 100755
--- a/tools/ci/cibuild.sh
+++ b/tools/ci/cibuild.sh
@@ -253,7 +253,7 @@ function kconfig-frontends {
 }
 
 function mips-gcc-toolchain {
-  if [ ! -f "${tools}/pinguino-compilers" ]; then
+  if [ ! -d "${tools}/pinguino-compilers" ]; then
     cd "${tools}"
     git clone https://github.com/PinguinoIDE/pinguino-compilers
   fi

Reply via email to