This commit is contained in:
parent
821064ce8f
commit
d9ae130441
|
@ -229,8 +229,8 @@ func setCmdEnv(cmd *exec.Cmd, username string) {
|
|||
// glog.Infof("Master workspace [%s]", masterWorkspace)
|
||||
|
||||
cmd.Env = append(cmd.Env,
|
||||
"GOPATH="+userWorkspace+string(os.PathListSeparator)+
|
||||
masterWorkspace+string(os.PathListSeparator)+
|
||||
os.Getenv("GOPATH"),
|
||||
"GOPATH="+GOPATH+string(os.PathListSeparator)+
|
||||
userWorkspace+string(os.PathListSeparator)+
|
||||
masterWorkspace,
|
||||
"GOROOT="+os.Getenv("GOROOT"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue