Skip to content

Commit

Permalink
Merge "[FAB-4906] sed error in generateArtifacts.sh"
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersingh24 authored and Gerrit Code Review committed Jul 2, 2017
2 parents 1cb972c + e327448 commit fd34e5e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions examples/e2e_cli/network_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ function removeUnwantedImages() {
}

function networkUp () {
#Generate all the artifacts that includes org certs, orderer genesis block,
# channel configuration transaction
source generateArtifacts.sh $CH_NAME
if [ -f "./crypto-config" ]; then
echo "crypto-config directory already exists."
else
#Generate all the artifacts that includes org certs, orderer genesis block,
# channel configuration transaction
source generateArtifacts.sh $CH_NAME
fi

if [ "${IF_COUCHDB}" == "couchdb" ]; then
CHANNEL_NAME=$CH_NAME TIMEOUT=$CLI_TIMEOUT docker-compose -f $COMPOSE_FILE -f $COMPOSE_FILE_COUCH up -d 2>&1
Expand Down

0 comments on commit fd34e5e

Please sign in to comment.