aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorDan Nichilson <dnicholson@linuxfromscratch.org>2007-07-24 14:48:14 +0000
committerDan Nichilson <dnicholson@linuxfromscratch.org>2007-07-24 14:48:14 +0000
commitad83f72ad8ff3782a03c2bbd97cd746f908c9166 (patch)
tree95a73c8ca67a7e87a228078736659284ea1a3044 /chapter05
parent0102f5359213fee5ec5f1acd70885328043dca19 (diff)
Remove extraneous && in chained commands
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8235 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/adjusting.xml6
-rw-r--r--chapter05/gcc-pass2.xml4
2 files changed, 5 insertions, 5 deletions
diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml
index bad013455..0d0c76e56 100644
--- a/chapter05/adjusting.xml
+++ b/chapter05/adjusting.xml
@@ -66,9 +66,9 @@ ln -sv /tools/bin/ld /tools/$(gcc -dumpmachine)/bin/ld</userinput></screen>
their length):</para>
<!-- && used to ease copy and pasting -->
-<screen><userinput>GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &amp;&amp;
-find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; &amp;&amp;
-rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &amp;&amp;
+<screen><userinput>GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include
+find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \;
+rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*`
unset GCC_INCLUDEDIR</userinput></screen>
<caution>
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 92874a456..fa41bfcf2 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -71,7 +71,7 @@ Ask your system administrator to create more.</computeroutput></screen>
directory. The running of the <command>fixincludes</command> script can
be suppressed by issuing the following commands:</para>
-<screen><userinput>cp -v gcc/Makefile.in{,.orig} &amp;&amp;
+<screen><userinput>cp -v gcc/Makefile.in{,.orig}
sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig &gt; gcc/Makefile.in</userinput></screen>
<para>The bootstrap build performed in <xref linkend="ch-tools-gcc-pass1"/>
@@ -80,7 +80,7 @@ sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig &gt; gcc/Makefile.in</userin
<command>sed</command> to use it in order to ensure consistent compiler
builds:</para>
-<screen><userinput>cp -v gcc/Makefile.in{,.tmp} &amp;&amp;
+<screen><userinput>cp -v gcc/Makefile.in{,.tmp}
sed 's/^XCFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in.tmp \
&gt; gcc/Makefile.in</userinput></screen>