Skip to content

Commit

Permalink
internal/coordinator/remote: use correct syntax to expand PATH on Win…
Browse files Browse the repository at this point in the history
…dows

For golang/go#56015.

Change-Id: Ic16f9b8e995424f50fda6921228a75683f91f8ff
Reviewed-on: https://go-review.googlesource.com/c/build/+/437817
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
Bryan C. Mills authored and gopherbot committed Oct 4, 2022
1 parent 49af426 commit f7ee4a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/coordinator/remote/ssh.go
Expand Up @@ -320,7 +320,7 @@ func (ss *SSHServer) setupRemoteSSHEnv(bconf *dashboard.BuildConfig, workDir str
fmt.Fprintf(f, "set %s\n", env)
}
fmt.Fprintf(f, `set GOPATH=%s\gopath`+"\n", workDir)
fmt.Fprintf(f, `set PATH=$PATH;%s\go\bin`+"\n", workDir)
fmt.Fprintf(f, `set PATH=%%PATH%%;%s\go\bin`+"\n", workDir)
fmt.Fprintf(f, `cd %s\go\src`+"\n", workDir)
case "plan9":
// TODO
Expand Down

0 comments on commit f7ee4a9

Please sign in to comment.