aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bash-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/bash-inst.xml')
-rw-r--r--chapter05/bash-inst.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml
index 7ab7fe351..334286d40 100644
--- a/chapter05/bash-inst.xml
+++ b/chapter05/bash-inst.xml
@@ -15,18 +15,16 @@ or you just installed it, check for the two files again. Often the
create <filename>libcurses.a</filename> as a symlink by running the
following commands as user root:</para>
-<para><screen><userinput>cd /usr/lib &amp;&amp;
-ln -s libncurses.a libcurses.a</userinput></screen></para>
+<para><screen><userinput>ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para>
<para>Now we can continue. Install Bash by running the following
commands:</para>
-<para><screen><userinput>./configure --enable-static-link --prefix=$LFS/usr \
-&nbsp;&nbsp;&nbsp;--bindir=$LFS/bin --with-curses &amp;&amp;
+<para><screen><userinput>./configure --enable-static-link \
+&nbsp;&nbsp;&nbsp;&nbsp;--prefix=$LFS/usr --bindir=$LFS/bin --with-curses &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
-cd $LFS/bin &amp;&amp;
-ln -sf bash sh</userinput></screen></para>
+ln -sf bash $LFS/bin/sh</userinput></screen></para>
<para>If the make install phase ends with something along the lines of</para>