aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-01-30 04:20:15 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2006-01-30 04:20:15 +0000
commitb87ea8726bbd62d4fde5a39a596d26f959d0ef59 (patch)
tree690982e6cd4d825bf702aa580fdc3ed675845c2f /chapter06
parent1ba726fd6f7114e4a9961d25d63535d273356071 (diff)
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/readjusting.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml
index eb81b8091..4466b004c 100644
--- a/chapter06/readjusting.xml
+++ b/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>