Permit skipping the dependency checks

This commit is contained in:
computermouth 2018-01-22 10:24:49 -08:00
parent f79fe329d9
commit 7ce8f2ba65
1 changed files with 12 additions and 8 deletions

View File

@ -14,14 +14,18 @@ nand_erasesize=400000
nand_writesize=4000
nand_oobsize=680
for TOOL in ${TOOLS[@]}; do
if [[ -z ${CHECK_DEPS} ]]; then
for TOOL in ${TOOLS[@]}; do
if [[ -z $(which $TOOL) ]]; then
echo " Error: Unable to locate $TOOL utility."
echo " Install $TOOL with:"
echo " CHIP-SDK setup script [github.com/NextThingCo/CHIP-SDK]"
exit 1
fi
done
done
fi
#------------------------------------------------------------
onMac() {