Forráskód Böngészése

Shortened the sed used on gzexe.in

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3557 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Zack Winkles 21 éve
szülő
commit
26b1701ea3
2 módosított fájl, 4 hozzáadás és 2 törlés
  1. 3 0
      chapter01/changelog.xml
  2. 1 2
      chapter06/gzip.xml

+ 3 - 0
chapter01/changelog.xml

@@ -94,6 +94,9 @@ first a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>May 12th, 2004 [winkie]: Shorten the <quote>sed</quote> used
+on Gzip's <filename>gzexe.in</filename> file.</para></listitem>
+
 <listitem><para>May 12th, 2004 [winkie]: Fixed Coreutils testsuite execution.
 </para></listitem>
 

+ 1 - 2
chapter06/gzip.xml

@@ -32,8 +32,7 @@ GCC, Glibc, Grep, Make, Sed.</para>
 the location of the binary, the following command ensures that the new
 location gets placed into the script:</para>
 
-<screen><userinput>cp gzexe.in{,.backup}
-sed 's%"BINDIR"%/bin%' gzexe.in.backup &gt; gzexe.in</userinput></screen>
+<screen><userinput>sed -i 's%"BINDIR"%/bin%' gzexe.in</userinput></screen>
 
 <para>Compile the package:</para>