]> Cypherpunks repositories - gostls13.git/commit
cmd/go: quote expanded shell variables used within regular expressions
authorBryan C. Mills <bcmills@google.com>
Fri, 1 Mar 2019 15:09:02 +0000 (10:09 -0500)
committerBryan C. Mills <bcmills@google.com>
Fri, 1 Mar 2019 20:53:50 +0000 (20:53 +0000)
commitb45f5b5e16c8176c909b441ebfa731cd6ff0cd63
treea96f9de8566a44246ef6854527b3500f0c1e59ae
parent45861a64d311e05c43f18d58d53ae258222519c8
cmd/go: quote expanded shell variables used within regular expressions

We mostly use shell variables for paths, and we don't want file paths
like "C:\work\go1.4" to turn into regular expressions.

Updates #30228
Updates #30241

Change-Id: If18b775b2f8b2821eaf197c4be4a322066af839f
Reviewed-on: https://go-review.googlesource.com/c/164626
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/script_test.go