From 820368571d1f20baed4bd42f04c75a33d1e3d9af Mon Sep 17 00:00:00 2001 From: David Enyeart Date: Thu, 11 Apr 2024 22:38:54 -0400 Subject: [PATCH] test-network envVar.sh script improvement Change shell script to use single equals. In my shell environment single bracket with double equals did not work. It caused failure when running the chaincode-external tutorial README. It looks like for maximum portability, it is best to use single bracket with single equals. Signed-off-by: David Enyeart --- test-network/scripts/envVar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-network/scripts/envVar.sh b/test-network/scripts/envVar.sh index c4b19b5a02..f429cfafaf 100755 --- a/test-network/scripts/envVar.sh +++ b/test-network/scripts/envVar.sh @@ -50,7 +50,7 @@ setGlobals() { errorln "ORG Unknown" fi - if [ "$VERBOSE" == "true" ]; then + if [ "$VERBOSE" = "true" ]; then env | grep CORE fi }