aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 17:20:47 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-10 17:20:47 +0000
commit585ce086da5af7b8f3e33ae93c6b0aa128b51555 (patch)
tree183f906671aedd054bd6da41761858797117b21c /chapter05
parent243d49acd65f59052effd8ccb15800e9232ac008 (diff)
made adjusting specs file architecture independant
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/lockingglibc.xml11
1 files changed, 6 insertions, 5 deletions
diff --git a/chapter05/lockingglibc.xml b/chapter05/lockingglibc.xml
index dd9c61e2c..95d086467 100644
--- a/chapter05/lockingglibc.xml
+++ b/chapter05/lockingglibc.xml
@@ -11,11 +11,12 @@
<para>You can remove the binutils-* directories now.</para>
-<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &amp;&amp;
-cp ${SPECFILE} ./XX &amp;&amp;
-sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} &amp;&amp;
-unset SPECFILE &amp;&amp;
-rm -f ./XX</userinput></screen></para>
+<para><screen><userinput>SPECFILE=/stage1/lib/gcc-lib/*/*/specs
+sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \
+&nbsp;&nbsp;&nbsp;&nbsp;-e 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \
+&nbsp;&nbsp;&nbsp;&nbsp;$SPECFILE > XX
+mv XX $SPECFILE
+unset SPECFILE</userinput></screen></para>
</sect2>