mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-20 06:49:27 +00:00
build: ensure GOMODCACHE is not set in dependency download for deb
This commit is contained in:
parent
51b6733055
commit
3421d0773f
1 changed files with 2 additions and 0 deletions
|
|
@ -680,10 +680,12 @@ func doDebianSource(cmdline []string) {
|
||||||
// Download all the dependencies needed to build the sources and run the ci script
|
// Download all the dependencies needed to build the sources and run the ci script
|
||||||
srcdepfetch := tc.Go("mod", "download")
|
srcdepfetch := tc.Go("mod", "download")
|
||||||
srcdepfetch.Env = append(srcdepfetch.Env, "GOPATH="+filepath.Join(*workdir, "modgopath"))
|
srcdepfetch.Env = append(srcdepfetch.Env, "GOPATH="+filepath.Join(*workdir, "modgopath"))
|
||||||
|
srcdepfetch.Env = append(srcdepfetch.Env, "GOMODCACHE=")
|
||||||
build.MustRun(srcdepfetch)
|
build.MustRun(srcdepfetch)
|
||||||
|
|
||||||
cidepfetch := tc.Go("run", "./build/ci.go")
|
cidepfetch := tc.Go("run", "./build/ci.go")
|
||||||
cidepfetch.Env = append(cidepfetch.Env, "GOPATH="+filepath.Join(*workdir, "modgopath"))
|
cidepfetch.Env = append(cidepfetch.Env, "GOPATH="+filepath.Join(*workdir, "modgopath"))
|
||||||
|
cidepfetch.Env = append(srcdepfetch.Env, "GOMODCACHE=")
|
||||||
cidepfetch.Run() // Command fails, don't care, we only need the deps to start it
|
cidepfetch.Run() // Command fails, don't care, we only need the deps to start it
|
||||||
|
|
||||||
// Create Debian packages and upload them.
|
// Create Debian packages and upload them.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue