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

sysrqb at torproject.org sysrqb at torproject.org
Fri Jul 16 00:30:12 UTC 2021


commit 6dbedb734cc659bd602d281b559ec62e4733fc5a
Author: Matthew Finkel <sysrqb at torproject.org>
Date:   Thu Jul 15 21:56:31 2021 +0000

    Revert "fixup! Bug 40232: Move Alpha to Go 1.16"
    
    This reverts commit 56f538d0ea6f4b5136bb77d7f4cc9cb4cb363f03.
---
 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 f8c8559..211376d 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 := os.MkdirTemp(cfg.Getenv("GOTMPDIR"), "go-build")
+-		tmp, err := ioutil.TempDir(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