Browse Source

Remove a spurious -i from the perl command when readjusting the toolchain.
Thanks Dan Nicholson.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7315 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Jeremy Huntwork 19 năm trước cách đây
mục cha
commit
b87ea8726b
2 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 4 0
      chapter01/changelog.xml
  2. 1 1
      chapter06/readjusting.xml

+ 4 - 0
chapter01/changelog.xml

@@ -42,6 +42,10 @@
         <listitem>
 	  <para>[jhuntwork] - Restore the use of *startfile_prefix_spec.
 	</listitem>
+        <listitem>
+	  <para>[jhuntwork] - Remove a spurious -i from the perl command when
+	  readjusting the toolchain. Thanks Dan Nicholson.
+	</listitem>
       </itemizedlist>
     </listitem>
 

+ 1 - 1
chapter06/readjusting.xml

@@ -33,7 +33,7 @@ dynamic linker, and so that GCC knows where to find its start files.
 A <command>perl</command> command accomplishes this:</para>
 
 <screen><userinput>gcc -dumpspecs | \
-perl -pi -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
+perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
      -e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' &gt; \
      `dirname $(gcc --print-libgcc-file-name)`/specs
 </userinput></screen>