Fix missing fi

pull/108/head
Baohua Yang 2017-11-23 13:21:35 +08:00
parent f409d9c527
commit 504a7ab857
2 changed files with 3 additions and 2 deletions

View File

@ -32,14 +32,16 @@ init: # initialize the fabric network
@echo "In DEV mode, wait for rebuilding ..." && sleep $(CODE_BUILD_WAIT); \
make init_peer0; \
else \
echo "In Normal mode ..." && sleep 3; \
echo "In Normal mode ..." && sleep 1; \
make init_all; \
fi
test_cc: # test chaincode
if [ "$(HLF_MODE)" = "dev" ]; then \
make test_cc_peer0; \
else \
make test_cc_all; \
fi
ready: restart
@echo "Restart, init network and then do cc testing..."

View File

@ -20,7 +20,6 @@ elif [ -f scripts/variables.sh ]; then
source scripts/variables.sh
fi
# Verify $1 is not 0, then output error msg $2
verifyResult () {
if [ $1 -ne 0 ] ; then