aboutsummaryrefslogtreecommitdiffstats
path: root/chapter04/settingenviron.xml
diff options
context:
space:
mode:
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>