summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/009-goinstall_can_install_to_GOPATH.patch6
1 files changed, 1 insertions, 5 deletions
diff --git a/debian/patches/009-goinstall_can_install_to_GOPATH.patch b/debian/patches/009-goinstall_can_install_to_GOPATH.patch
index f80c7e1f8..cc97b8f8f 100644
--- a/debian/patches/009-goinstall_can_install_to_GOPATH.patch
+++ b/debian/patches/009-goinstall_can_install_to_GOPATH.patch
@@ -1,6 +1,6 @@
--- a/src/cmd/goinstall/main.go
+++ b/src/cmd/goinstall/main.go
-@@ -75,6 +75,14 @@ func main() {
+@@ -75,6 +75,10 @@ func main() {
os.Exit(1)
}
@@ -8,10 +8,6 @@
+ fmt.Fprintf(os.Stderr, "%s: set $GOPATH to the directory you want packages installed to if you get permission denied error\n", argv0)
+ }
+
-+ if root != defaultRoot.path {
-+ logfile = filepath.Join(defaultRoot.path, "goinstall.log")
-+ }
-+
// special case - "unsafe" is already installed
visit["unsafe"] = done