@mattn
This commit is contained in:
Liang Ding 2014-10-28 12:06:50 +08:00
parent c346df3168
commit 3637283168
1 changed files with 1 additions and 1 deletions

View File

@ -803,7 +803,7 @@ func setCmdEnv(cmd *exec.Cmd, username string) {
masterWorkspace := conf.Wide.GetWorkspace() masterWorkspace := conf.Wide.GetWorkspace()
cmd.Env = append(cmd.Env, cmd.Env = append(cmd.Env,
"GOPATH="+filepath.Join(userWorkspace, masterWorkspace), "GOPATH="+userWorkspace+conf.PathListSeparator+masterWorkspace,
"GOOS="+runtime.GOOS, "GOOS="+runtime.GOOS,
"GOARCH="+runtime.GOARCH, "GOARCH="+runtime.GOARCH,
"GOROOT="+runtime.GOROOT(), "GOROOT="+runtime.GOROOT(),