From 0872d8b8e707dab47fd853f94e62db49c8bf6c67 Mon Sep 17 00:00:00 2001 From: Ana Maria Franco Date: Sat, 17 Aug 2019 07:54:13 -0500 Subject: [PATCH] Move MSYS_NO_PATHCONV=1 to after blockchain init MSYS_NO_PATHCONV=1 generates an error running the first-network blockchain so its better to place it after the blockchain is up --- fabcar/startFabric.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fabcar/startFabric.sh b/fabcar/startFabric.sh index c839a203..30f2ec81 100755 --- a/fabcar/startFabric.sh +++ b/fabcar/startFabric.sh @@ -8,7 +8,6 @@ set -e # don't rewrite paths for Windows Git Bash users -export MSYS_NO_PATHCONV=1 starttime=$(date +%s) CC_SRC_LANGUAGE=${1:-"go"} CC_SRC_LANGUAGE=`echo "$CC_SRC_LANGUAGE" | tr [:upper:] [:lower:]` @@ -45,6 +44,8 @@ cd ../first-network echo y | ./byfn.sh down echo y | ./byfn.sh up -a -n -s couchdb +export MSYS_NO_PATHCONV=1 + CONFIG_ROOT=/opt/gopath/src/github.com/hyperledger/fabric/peer ORG1_MSPCONFIGPATH=${CONFIG_ROOT}/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp ORG1_TLS_ROOTCERT_FILE=${CONFIG_ROOT}/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt