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)
|
// glog.Infof("Master workspace [%s]", masterWorkspace)
|
||||||
|
|
||||||
cmd.Env = append(cmd.Env,
|
cmd.Env = append(cmd.Env,
|
||||||
"GOPATH="+userWorkspace+string(os.PathListSeparator)+
|
"GOPATH="+GOPATH+string(os.PathListSeparator)+
|
||||||
masterWorkspace+string(os.PathListSeparator)+
|
userWorkspace+string(os.PathListSeparator)+
|
||||||
os.Getenv("GOPATH"),
|
masterWorkspace,
|
||||||
"GOROOT="+os.Getenv("GOROOT"))
|
"GOROOT="+os.Getenv("GOROOT"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue