summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/009-goinstall_can_install_to_GOPATH.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/009-goinstall_can_install_to_GOPATH.patch b/debian/patches/009-goinstall_can_install_to_GOPATH.patch
index be2a3965f..0e4d2acf4 100644
--- a/debian/patches/009-goinstall_can_install_to_GOPATH.patch
+++ b/debian/patches/009-goinstall_can_install_to_GOPATH.patch
@@ -8,8 +8,8 @@
+ fmt.Fprintf(os.Stderr, "%s: set $GOPATH to the directory you want packages installed to if you get permission denied error\n", argv0)
+ }
+
-+ if runtime.GOROOT() != defaultRoot.path {
-+ logfile = filepath.Join(defaultRoot.path, "goinstall.log")
++ if runtime.GOROOT() != defaultTree.path {
++ logfile = filepath.Join(defaultTree.path, "goinstall.log")
+ }
+
// special case - "unsafe" is already installed