[tbb-commits] [tor-browser-build/master] fixup! Bug 40232: Move Alpha to Go 1.16

sysrqb at torproject.org sysrqb at torproject.org
Thu Jul 15 04:43:46 UTC 2021


commit 56f538d0ea6f4b5136bb77d7f4cc9cb4cb363f03
Author: Matthew Finkel <sysrqb at torproject.org>
Date:   Thu Jul 15 04:30:48 2021 +0000

    fixup! Bug 40232: Move Alpha to Go 1.16
---
 projects/go/0001-Use-fixed-go-build-tmp-directory.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/go/0001-Use-fixed-go-build-tmp-directory.patch b/projects/go/0001-Use-fixed-go-build-tmp-directory.patch
index 211376d..f8c8559 100644
--- a/projects/go/0001-Use-fixed-go-build-tmp-directory.patch
+++ b/projects/go/0001-Use-fixed-go-build-tmp-directory.patch
@@ -15,7 +15,7 @@ index 33b7818fb2..5e369d0f53 100644
  	if cfg.BuildN {
  		b.WorkDir = "$WORK"
  	} else {
--		tmp, err := ioutil.TempDir(cfg.Getenv("GOTMPDIR"), "go-build")
+-		tmp, err := os.MkdirTemp(cfg.Getenv("GOTMPDIR"), "go-build")
 -		if err != nil {
 -			base.Fatalf("go: creating work dir: %v", err)
 +		tmp := filepath.Join(cfg.Getenv("GOTMPDIR"), "go-build-workdir")





More information about the tbb-commits mailing list