Fix syntax error in bash script.

PiperOrigin-RevId: 332944739
Change-Id: Ic3bd0068a9ae5be68e56e48c071146565c15b635
This commit is contained in:
Jonathan Hseu 2020-09-21 15:11:18 -07:00 committed by TensorFlower Gardener
parent 5c1a75db45
commit 3f94cbfa73

View File

@ -25,7 +25,7 @@ then
fi
# convert GOPATH's Windows style to UNIX style
if [ $1 == "win" ]; then
if [[ $1 == "win" ]]; then
# eg: convert "D:\go-14;D:\go-13" to "D\go-14;D\go-13"
GOPATH=${GOPATH//:\\/\\}
# eg: convert "D\go-14;D\go-13" to "\D\go-14:\D\go-13"