Fix syntax error in bash script.
PiperOrigin-RevId: 332944739 Change-Id: Ic3bd0068a9ae5be68e56e48c071146565c15b635
This commit is contained in:
parent
5c1a75db45
commit
3f94cbfa73
@ -25,7 +25,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# convert GOPATH's Windows style to UNIX style
|
# 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"
|
# eg: convert "D:\go-14;D:\go-13" to "D\go-14;D\go-13"
|
||||||
GOPATH=${GOPATH//:\\/\\}
|
GOPATH=${GOPATH//:\\/\\}
|
||||||
# eg: convert "D\go-14;D\go-13" to "\D\go-14:\D\go-13"
|
# eg: convert "D\go-14;D\go-13" to "\D\go-14:\D\go-13"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user