summaryrefslogtreecommitdiff
path: root/debian/patches/009-goinstall_can_install_to_GOPATH.patch
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-06-30 16:29:32 +0200
committerOndřej Surý <ondrej@sury.org>2011-06-30 16:29:32 +0200
commit5683dbd67e0f08562a7baff5b14a875076d8624b (patch)
treedd20daa868cd27046ae12c0aa01bf67109d785de /debian/patches/009-goinstall_can_install_to_GOPATH.patch
parent6ddba353d0dc01c783f0b608a555d11aac4c18f4 (diff)
downloadgolang-debian/1%58-1.tar.gz
Don't care about install.logdebian/1%58-1
Diffstat (limited to 'debian/patches/009-goinstall_can_install_to_GOPATH.patch')
-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