mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-28 05:40:26 +00:00
syz-ci: unset GOPATH
syz-ci always passes own GOPATH, if GOPATH is already present in env, it causes havoc. Unset it.
This commit is contained in:
parent
4906b5987e
commit
84277f259c
@ -60,6 +60,7 @@ func NewSyzUpdater(cfg *Config) *SyzUpdater {
|
||||
|
||||
gopath := filepath.Join(wd, "gopath")
|
||||
os.Setenv("GOROOT", cfg.Goroot)
|
||||
os.Unsetenv("GOPATH")
|
||||
os.Setenv("PATH", filepath.Join(cfg.Goroot, "bin")+
|
||||
string(filepath.ListSeparator)+os.Getenv("PATH"))
|
||||
syzkallerDir := filepath.Join(gopath, "src", "github.com", "google", "syzkaller")
|
||||
|
Loading…
Reference in New Issue
Block a user