This commit is contained in:
Liang Ding 2014-09-03 16:06:59 +08:00
parent 01edec49f3
commit 197c39c3f1
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ func setCmdEnv(cmd *exec.Cmd, username string) {
// glog.Infof("Master workspace [%s]", masterWorkspace)
cmd.Env = append(cmd.Env,
"GOPATH="+GOPATH+string(os.PathListSeparator)+
"GOPATH="+os.Getenv("GOPATH")+string(os.PathListSeparator)+
userWorkspace+string(os.PathListSeparator)+
masterWorkspace,
"GOROOT="+os.Getenv("GOROOT"))