summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-06-28 16:38:42 +0200
committerOndřej Surý <ondrej@sury.org>2011-06-28 16:39:25 +0200
commitdbe64b2ae39cd2c628f38b5824969cb5167606e2 (patch)
treecb052db2f35837b60ddf30e9f448dfad0ebe2230
parent4873832de2d576782b3eecb0887a1c428da19e32 (diff)
downloadgolang-dbe64b2ae39cd2c628f38b5824969cb5167606e2.tar.gz
upstream defaultRoot was renamed to defaultTree
-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