diff options
-rw-r--r-- | chapter05/gcc-inst.xml | 5 | ||||
-rw-r--r-- | chapter06/sysvinit-inst.xml | 3 |
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 &&</userinput> <userinput>mkdir ../gcc-build &&</userinput> <userinput>cd ../gcc-build &&</userinput> -<userinput>../gcc-&gcc-version;/configure --prefix=/usr \</userinput> -<userinput> --enable-languages=c,c++ --disable-nls \</userinput> -<userinput> --disable-shared &&</userinput> +<userinput>../gcc-&gcc-version;/configure --prefix=/usr --enable-languages=c,c++ \</userinput> +<userinput> --disable-nls --disable-shared &&</userinput> <userinput>make BOOT_LDFLAGS=-static bootstrap &&</userinput> <userinput>make prefix=$LFS/usr install &&</userinput> <userinput>cd $LFS/lib &&</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 &&</userinput> -<userinput>sed \</userinput> -<userinput> 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput> +<userinput>sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \</userinput> <userinput> src/init.c > tmp~ &&</userinput> <userinput>mv -f tmp~ src/init.c &&</userinput> <userinput>make -C src &&</userinput> |