diff --git a/test-network/scripts/setAnchorPeer.sh b/test-network/scripts/setAnchorPeer.sh index c1ab364f3c..9b821a4cd2 100755 --- a/test-network/scripts/setAnchorPeer.sh +++ b/test-network/scripts/setAnchorPeer.sh @@ -6,7 +6,8 @@ # # import utils -. scripts/configUpdate.sh +test_network_home=${test_network_home:-${PWD}} +. ${test_network_home}/scripts/configUpdate.sh # NOTE: this must be run in a CLI container since it requires jq and configtxlator