aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
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 e4c8c46a6..c8c2f4bbd 100644
--- a/chapter06/readjusting.xml
+++ b/chapter06/readjusting.xml
@@ -52,7 +52,7 @@ this:</para>
<!-- Ampersands are needed to allow cut and paste -->
-<screen><userinput>SPECFILE=/tools/lib/gcc/*/*/specs &amp;&amp;
+<screen><userinput>SPECFILE=`gcc --print-file specs` &amp;&amp;
sed -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \
$SPECFILE &gt; newspecfile &amp;&amp;
mv -f newspecfile $SPECFILE &amp;&amp;