diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-07-22 19:45:10 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-07-22 19:45:10 +0000 |
commit | b822811980a5f82726cb641cbeff66be9eb6d92a (patch) | |
tree | 27c4db3c62aaea065b053e43c39b2ba44c04a05f /chapter05/bash-exp.xml | |
parent | 46f5461af92bc70c62bbb92895032b930954d835 (diff) |
XML changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@827 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/bash-exp.xml')
-rw-r--r-- | chapter05/bash-exp.xml | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/chapter05/bash-exp.xml b/chapter05/bash-exp.xml index 1412e20f5..0a6f05751 100644 --- a/chapter05/bash-exp.xml +++ b/chapter05/bash-exp.xml @@ -1,50 +1,38 @@ <sect2> <title>Command explanations</title> -<para> -<userinput>--enable-static-link:</userinput> This configure -option causes Bash to be linked statically -</para> +<para><userinput>--enable-static-link:</userinput> This configure +option causes Bash to be linked statically</para> -<para> -<userinput>--prefix=$LFS/usr:</userinput> This configure option installs +<para><userinput>--prefix=$LFS/usr:</userinput> This configure option installs all of Bash's files under the $LFS/usr directory, which becomes the /usr directory after the user chroot'ed into $LFS or when he rebooted -the system into LFS. -</para> +the system into LFS.</para> -<para> -<userinput>--bindir=$LFS/bin:</userinput> This installs the executable +<para><userinput>--bindir=$LFS/bin:</userinput> This installs the executable files in $LFS/bin. We do this because we want bash to be in /bin, not in /usr/bin. One reason being: the /usr partition might be on a separate partition which has to be mounted at some point. Before that partition is mounted a user needs and will want to have bash available (it will be hard to -execute the boot scripts without a shell for instance). -</para> +execute the boot scripts without a shell for instance).</para> -<para> -<userinput>--with-curses:</userinput> This causes Bash to be linked +<para><userinput>--with-curses:</userinput> This causes Bash to be linked against the curses library instead of the default termcap library which -is becoming obsolete. -</para> +is becoming obsolete.</para> -<para> -<userinput>ln -s bash sh:</userinput> This command creates the sh +<para><userinput>ln -s bash sh:</userinput> This command creates the sh symlink that points to bash. Most scripts run themselves via 'sh' (invoked by the #!/bin/sh as the first line in the scripts) which invokes a special bash mode. Bash will then behave (as closely as -possible) as the original Bourne shell. -</para> +possible) as the original Bourne shell.</para> -<para> -The <userinput>&&</userinput>'s at the end of every line cause +<para>The <userinput>&&</userinput>'s at the end of every line cause the next command to be executed only if the previous command exists with a return value of 0 indicating success. In case all of these commands are copy&pasted on the shell, is is important to be ensured that if ./configure fails, make isn't being executed and, likewise, if make fails, -that make install isn't being executed, and so forth. -</para> +that make install isn't being executed, and so forth.</para> </sect2> |