aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter05/gcc-inst.xml5
-rw-r--r--chapter06/sysvinit-inst.xml3
2 files changed, 3 insertions, 5 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 649e1b32b..253a12df8 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -6,9 +6,8 @@
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;</userinput>
<userinput>mkdir ../gcc-build &amp;&amp;</userinput>
<userinput>cd ../gcc-build &amp;&amp;</userinput>
-<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--enable-languages=c,c++ --disable-nls \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;--disable-shared &amp;&amp;</userinput>
+<userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-languages=c,c++ \</userinput>
+<userinput>&nbsp;&nbsp;&nbsp;--disable-nls --disable-shared &amp;&amp;</userinput>
<userinput>make BOOT_LDFLAGS=-static bootstrap &amp;&amp;</userinput>
<userinput>make prefix=$LFS/usr install &amp;&amp;</userinput>
<userinput>cd $LFS/lib &amp;&amp;</userinput>
diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml
index 1ebc5bd5e..57f8373f8 100644
--- a/chapter06/sysvinit-inst.xml
+++ b/chapter06/sysvinit-inst.xml
@@ -13,8 +13,7 @@ processes started by init the TERM signal".</para>
<para>Install Sysvinit by running the following commands:</para>
<para><screen><userinput>cp src/init.c src/init.c.backup &amp;&amp;</userinput>
-<userinput>sed \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;'s/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput>
+<userinput>sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput>
<userinput>&nbsp;&nbsp;&nbsp;src/init.c &gt; tmp~ &amp;&amp;</userinput>
<userinput>mv -f tmp~ src/init.c &amp;&amp;</userinput>
<userinput>make -C src &amp;&amp;</userinput>