Permit skipping the dependency checks

This commit is contained in:
computermouth 2018-01-22 10:24:49 -08:00
parent f79fe329d9
commit 7ce8f2ba65

View File

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