Skip to content

Commit

Permalink
test-network envVar.sh script improvement
Browse files Browse the repository at this point in the history
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 <enyeart@us.ibm.com>
  • Loading branch information
denyeart authored and satota2 committed Apr 12, 2024
1 parent d4ce4cf commit 8203685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-network/scripts/envVar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ setGlobals() {
errorln "ORG Unknown"
fi

if [ "$VERBOSE" == "true" ]; then
if [ "$VERBOSE" = "true" ]; then
env | grep CORE
fi
}
Expand Down

0 comments on commit 8203685

Please sign in to comment.