Explorar el Código

Apply suggestion to tools/ci/build_examples.sh

He Yin Ling hace 6 años
padre
commit
d5b0b36758
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/ci/build_examples.sh

+ 1 - 1
tools/ci/build_examples.sh

@@ -62,7 +62,7 @@ SDKCONFIG_DEFAULTS_CI=sdkconfig.ci
 
 
 EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name Makefile | grep -v "/build_system/cmake/" | sort )
 EXAMPLE_PATHS=$( find ${IDF_PATH}/examples/ -type f -name Makefile | grep -v "/build_system/cmake/" | sort )
 
 
-if [ -z {CI_NODE_TOTAL} ]
+if [ -z "${CI_NODE_TOTAL:-}" ]
 then
 then
     START_NUM=0
     START_NUM=0
     END_NUM=999
     END_NUM=999