aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc-inst.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-15 12:50:02 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-15 12:50:02 +0000
commit8f5efb62001439e55fbacf47e2b4a9f21b6faa01 (patch)
tree2da80211de9958c3003fbc2721ba240c7b0a41c5 /chapter06/glibc-inst.xml
parent2bcd77192f30d42f7001d711e33a94a86a3eedf1 (diff)
Bug 125: simplify seds
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@973 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r--chapter06/glibc-inst.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index b39be8a8b..be7bf6b7a 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -15,15 +15,15 @@ would do.</para>
<userinput>touch /etc/ld.so.conf &amp;&amp;</userinput>
<userinput>mkdir ../glibc-build &amp;&amp;</userinput>
<userinput>cd ../glibc-build &amp;&amp;</userinput>
-<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
+<userinput>sed 's|$(PERL)|/usr/bin/perl|' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;../glibc-&glibc-version;/malloc/Makefile &gt; tmp~ &amp;&amp;</userinput>
<userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &amp;&amp;</userinput>
-<userinput>sed "s/root/0/" ../glibc-&glibc-version;/login/Makefile &gt; tmp~ &amp;&amp;</userinput>
+<userinput>sed 's/root/0/' ../glibc-&glibc-version;/login/Makefile &gt; tmp~ &amp;&amp;</userinput>
<userinput>mv tmp~ ../glibc-&glibc-version;/login/Makefile &amp;&amp;</userinput>
<userinput>../glibc-&glibc-version;/configure \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--prefix=/usr --enable-add-ons \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;--libexecdir=/usr/bin &amp;&amp;</userinput>
-<userinput>sed s/"cross-compiling = yes"/"cross-compiling = no"/ \</userinput>
+<userinput>sed 's/cross-compiling = yes/cross-compiling = no/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;config.make &gt; config.make~ &amp;&amp;</userinput>
<userinput>mv config.make~ config.make &amp;&amp;</userinput>
<userinput>make &amp;&amp;</userinput>