summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-03-16 09:42:34 +1100
committerAndrew Gerrand <adg@golang.org>2010-03-16 09:42:34 +1100
commit2811e70ed59a5209935b593eb893410544254a2a (patch)
treeba8f2306bb5f973deb5e06e45e35242b963f59ea
parent158f989e3728ccc902dd07021773c2f25de58543 (diff)
downloadgolang-2811e70ed59a5209935b593eb893410544254a2a.tar.gz
install.html: elaborate on shell profile instructions
R=r, rsc CC=golang-dev http://codereview.appspot.com/556041
-rw-r--r--doc/install.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/install.html b/doc/install.html
index 87d4836d2..20f8dcc69 100644
--- a/doc/install.html
+++ b/doc/install.html
@@ -19,9 +19,9 @@ compiler using the GCC back end, see
<h2>Environment variables</h2>
-<p>The Go compilation environment depends on three environment
-variables that you should set in your <code>.bashrc</code> or equivalent,
-plus one optional variable:</p>
+<p>
+The Go compilation environment depends on three environment variables plus one optional variable:
+</p>
<dl>
<dt>
@@ -106,7 +106,9 @@ In effect, you are always cross-compiling.
</p>
<p>
-Set these variables in your <code>.bashrc</code>. For example:
+Set these variables in your shell profile (<code>$HOME/.bashrc</code>,
+<code>$HOME/.profile</code>, or equivalent). The settings might look
+something like this:
</p>
<pre>
@@ -116,7 +118,8 @@ export GOOS=linux
</pre>
<p>
-Double-check them by listing your environment.
+Double-check them by listing your environment. (You will need to launch
+a new shell or terminal window for the changes to take effect.)
</p>
<pre>