]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/testdata/script: fix path separator in test to be os-independent
authorMichael Matloob <matloob@golang.org>
Thu, 27 Feb 2020 22:24:48 +0000 (17:24 -0500)
committerMichael Matloob <matloob@golang.org>
Thu, 27 Feb 2020 23:06:33 +0000 (23:06 +0000)
Use ${:} instead of : so to be Windows-friendly.

Change-Id: I5e660af49b0a2ac2da868583cbcb55cf8bf89b68
Reviewed-on: https://go-review.googlesource.com/c/go/+/221461
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/go/testdata/script/install_shadow_gopath.txt

index e51cb91bce9b7c4e296b95bbf335494f19e0eaa4..995162172e8666c831181b42aab2e488c7931825 100644 (file)
@@ -3,7 +3,7 @@
 
 [!net] skip
 
-env GOPATH=$WORK/gopath1:$WORK/gopath2
+env GOPATH=$WORK/gopath1${:}$WORK/gopath2
 
 mkdir $WORK/gopath1/src/test
 mkdir $WORK/gopath2/src/test