Browse Source

Changed single to double quote in the echo command. Without it, lorien won't expand and defeats the sole purpose of creating the file - making perl's hostname check work

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2609 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 years ago
parent
commit
21b1878de5
2 changed files with 9 additions and 4 deletions
  1. 8 3
      chapter01/changelog.xml
  2. 1 1
      chapter06/basic-net.xml

+ 8 - 3
chapter01/changelog.xml

@@ -78,14 +78,19 @@
 </itemizedlist>
 </para></listitem>
 
-<listitem><para>May 12th, 2003 [winkie]: Removed all occurrences &amp;&amp;.
+<listitem><para>May 13th, 2003 [gerard]: Chapter 06 - Basic Network:
+Changed the single quotes to double quotes in the echo command. Without it,
+$(hostname) won't expand which defeats the sole purpose of this command -
+to make perl's hostname check work.</para></listitem>
+
+<listitem><para>May 13th, 2003 [winkie]: Removed all occurrences &amp;&amp;.
 Updated bug syntax. Added "make check/test" where necessary in Chapter
 6.</para></listitem>
 
-<listitem><para>May 12th, 2003 [winkie]: Applied "Changing ownership"
+<listitem><para>May 13th, 2003 [winkie]: Applied "Changing ownership"
 patch to polish the text. Closes bug #511.</para></listitem>
 
-<listitem><para>May 12th, 2003 [winkie]: Applied "Configuring system
+<listitem><para>May 13th, 2003 [winkie]: Applied "Configuring system
 components" patch to polish the text. Closes bug #510.</para></listitem>
 
 <listitem><para>May 13th, 2003 [gerard]: Chapter 06: Removed TCL, Expect

+ 1 - 1
chapter06/basic-net.xml

@@ -12,7 +12,7 @@ information allowing resolution of hostnames to IP addresses. Create a
 very basic one (we'll make a better one later) with the following
 command:</para>
 
-<para><screen><userinput>echo '127.0.0.1 $(hostname) localhost' > /etc/hosts</userinput></screen></para>
+<para><screen><userinput>echo "127.0.0.1 $(hostname) localhost" > /etc/hosts</userinput></screen></para>
 
 <para>Now unpack the Lfs-Utils tarball again, as we're going to copy two
 necessary files from it. One is the /etc/services file, which is used to