mirror of
https://github.com/golang/go
synced 2024-11-11 17:21:38 -07:00
update
This commit is contained in:
parent
cad095466b
commit
4242f36010
@ -391,7 +391,7 @@ func Exec(gotoolchain string) {
|
||||
// The only other tool the go command invokes is gofmt,
|
||||
// so we set that one explicitly before handling bin (which will include bin/go).
|
||||
allowExec(filepath.Join(dir, "pkg/tool"), "")
|
||||
allowExec(filepath.Join(dir, "lib"), "go_*_*_exec")
|
||||
allowExec(filepath.Join(dir, "lib"), "go_?*_?*_exec")
|
||||
allowExec(filepath.Join(dir, "bin/gofmt"), "")
|
||||
allowExec(filepath.Join(dir, "bin"), "")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user