summaryrefslogtreecommitdiffstats
path: root/pdk/docs
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2010-05-31 15:34:32 +0800
committerJack Palevich <jackpal@google.com>2010-05-31 15:34:32 +0800
commita85e0b9ae0bcd2ea16b73827a8a45c9eb7b0eaaa (patch)
tree0f241a936f93c52f90a32236bc103e5e660672a5 /pdk/docs
parente72ce256b0cd084a4ecbf059b3fa19100260153f (diff)
downloadandroid_development-a85e0b9ae0bcd2ea16b73827a8a45c9eb7b0eaaa.tar.gz
android_development-a85e0b9ae0bcd2ea16b73827a8a45c9eb7b0eaaa.tar.bz2
android_development-a85e0b9ae0bcd2ea16b73827a8a45c9eb7b0eaaa.zip
Fix syntax errors in command lines for update-java-alternatives and curl.
Change-Id: Ib5b2be53b5d7f99d48f0c8366174ed94d4bcfa82
Diffstat (limited to 'pdk/docs')
-rw-r--r--pdk/docs/source/download.jd4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdk/docs/source/download.jd b/pdk/docs/source/download.jd
index 329deffeb..d972af6fb 100644
--- a/pdk/docs/source/download.jd
+++ b/pdk/docs/source/download.jd
@@ -94,7 +94,7 @@ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl</s
sun-java5-jdk <span><span>zlib1g-dev</span>
</span>
gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev</blockquote>
-<ul><li>Set the system to use the right version of java by default:<br><br>$sudo update-java-alternatives -sjava-1.5.0-sun <br></li>
+<ul><li>Set the system to use the right version of java by default:<br><br>$ sudo update-java-alternatives -s java-1.5.0-sun <br></li>
</ul>
<ul><li>X11: Ubuntu doesn't have packages for the X11 libraries, but that can be worked around with the following command:<br><br>$ sudo ln -s /usr/lib32/libX11.so.6 /usr/lib32/libX11.so <br><br></li>
</ul>
@@ -184,7 +184,7 @@ To install, initialize, and configure Repo, follow these steps:<br><br></div>
</span>
</li>
<li><span>Download thereposcript and make sure it is executable:</span>
-<br>$ curl http://android.git.kernel.org/repo~/bin/repo <div>$ chmod a+x ~/bin/repo</div>
+<br>$ curl http://android.git.kernel.org/repo &gt;~/bin/repo <div>$ chmod a+x ~/bin/repo</div>
</li>
</ol>
</div>