diff options
Diffstat (limited to 'chapter06/readjusting.xml')
-rw-r--r-- | chapter06/readjusting.xml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml index c8c2f4bbd..a81c540f6 100644 --- a/chapter06/readjusting.xml +++ b/chapter06/readjusting.xml @@ -52,11 +52,8 @@ this:</para> <!-- Ampersands are needed to allow cut and paste --> -<screen><userinput>SPECFILE=`gcc --print-file specs` && -sed -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \ - $SPECFILE > newspecfile && -mv -f newspecfile $SPECFILE && -unset SPECFILE</userinput></screen> +<screen><userinput>sed -i 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \ + `gcc --print-file specs`</userinput></screen> <para>Again, cutting and pasting the above is recommended. And just like before, it is a good idea to visually inspect the specs file to verify the |