aboutsummaryrefslogtreecommitdiffstats
path: root/chapter04/settingenviron.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-29 20:00:54 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2004-05-29 20:00:54 +0000
commit55851d6ef3b438d78359c9ea0ba861069bedeeb1 (patch)
treed9f97db0df5856fb68fd325a4885b9edbf2d5c90 /chapter04/settingenviron.xml
parentd44a965cfe95996da670a7f053cb30222e41b36f (diff)
Tagging corrections in chapters 1 to 4.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3725 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter04/settingenviron.xml')
-rw-r--r--chapter04/settingenviron.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml
index 79bc3225b..d43de93e5 100644
--- a/chapter04/settingenviron.xml
+++ b/chapter04/settingenviron.xml
@@ -12,9 +12,9 @@ startup files for the <command>bash</command> shell. While logged in as
user <emphasis>lfs</emphasis>, issue the following command to create a new
<filename>.bash_profile</filename>:</para>
-<screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt; ~/.bash_profile &lt;&lt; <quote>EOF<quote>
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
-<userinput>EOF</userinput></screen>
+EOF</userinput></screen>
<para>Normally, when you log on as user <emphasis>lfs</emphasis>,
the initial shell is a <emphasis>login</emphasis> shell which reads the
@@ -32,14 +32,14 @@ which doesn't read the <filename>/etc/profile</filename> or
<filename>.bash_profile</filename> files, but reads the
<filename>.bashrc</filename> file instead. Create this latter file now:</para>
-<screen><userinput>cat &gt; ~/.bashrc &lt;&lt; "EOF"</userinput>
+<screen><userinput>cat &gt; ~/.bashrc &lt;&lt; <quote>EOF<quote>
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL PATH
-<userinput>EOF</userinput></screen>
+EOF</userinput></screen>
<para>The <command>set +h</command> command turns off
<command>bash</command>'s hash function. Normally hashing is a useful
@@ -68,7 +68,7 @@ environment and wish to return later. By setting LC_ALL to <quote>POSIX</quote>
(or <quote>C</quote>, the two are equivalent) we ensure that
everything will work as expected in the chroot environment.</para>
-<para>We prepend <filename>/tools/bin</filename> to the standard PATH so
+<para>We prepend <filename class="directory">/tools/bin</filename> to the standard PATH so
that, as we move along through this chapter, the tools we build will get used
during the rest of the building process.</para>