This commit is contained in:
parent
01edec49f3
commit
197c39c3f1
|
@ -229,7 +229,7 @@ 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="+GOPATH+string(os.PathListSeparator)+
|
"GOPATH="+os.Getenv("GOPATH")+string(os.PathListSeparator)+
|
||||||
userWorkspace+string(os.PathListSeparator)+
|
userWorkspace+string(os.PathListSeparator)+
|
||||||
masterWorkspace,
|
masterWorkspace,
|
||||||
"GOROOT="+os.Getenv("GOROOT"))
|
"GOROOT="+os.Getenv("GOROOT"))
|
||||||
|
|
Loading…
Reference in New Issue