Fix bash bracket error

pull/135/head
Baohua Yang 2019-01-10 13:17:01 +08:00
parent 83017747a6
commit 9e4f628356
2 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ docker tag hyperledger/fabric-baseos:$ARCH-$BASE_IMG_TAG hyperledger/fabric-base
echo "=== Pulling fabric images ${FABRIC_IMG_TAG} from fabric repo... ===" echo "=== Pulling fabric images ${FABRIC_IMG_TAG} from fabric repo... ==="
for IMG in peer tools orderer ca ccenv tools; do for IMG in peer tools orderer ca ccenv tools; do
if ["$FABRIC_IMG_TAG" == "latest"]; then if [ "$FABRIC_IMG_TAG" == "latest" ]; then
HLF_IMG=hyperledger/fabric-${IMG}:$FABRIC_IMG_TAG HLF_IMG=hyperledger/fabric-${IMG}:$FABRIC_IMG_TAG
else else
HLF_IMG=hyperledger/fabric-${IMG}:$ARCH-$FABRIC_IMG_TAG HLF_IMG=hyperledger/fabric-${IMG}:$ARCH-$FABRIC_IMG_TAG

View File

@ -8,7 +8,7 @@ ARCH=amd64
BASE_IMG_TAG=0.4.14 BASE_IMG_TAG=0.4.14
# For fabric images, including peer, orderer, ca # For fabric images, including peer, orderer, ca
FABRIC_IMG_TAG=latest FABRIC_IMG_TAG=1.4.0
PROJECT_VERSION=1.4.0 PROJECT_VERSION=1.4.0