aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-08-23 20:18:17 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-08-23 20:18:17 +0000
commitaf417913c57ed2255d513ba57fd2bbfaaf1767c5 (patch)
treeed9dcd41b2e6a8f42b39ac2dc7cc9fecaec8c5cb
parent8f82a9e82daaec348c4507f45d34e25b44b27bb1 (diff)
Remove '&&' from the `find' command that removes fixed headers as this may fail due to a race condition between `find' and `rm' (fixes bug 1621)
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/gcc4/BOOK@6748 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter05/adjusting.xml2
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 778ecd89e..874f2eaff 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -119,6 +119,11 @@ First a summary, then a detailed log.</para>
</itemizedlist>
</listitem>
+<listitem><para>August 23rd, 2005 [matt]: <command>find</command> may fail due
+to a race condition when deleting files. Remove the &amp;&amp; construct in
+chapter05/adjusting.xml so that the rest of the commands for removing fixed
+headers will be executed (fixes bug 1621).</para></listitem>
+
<listitem><para>August 23rd, 2005 [matt]: Install Udev's documentation relating
to configuring rules (fixes bug 1622)</para></listitem>
diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml
index 4f881a2b9..1d0cc6603 100644
--- a/chapter05/adjusting.xml
+++ b/chapter05/adjusting.xml
@@ -68,7 +68,7 @@ This is explained in more detail later in this chapter. Run the following comman
<!-- && used to ease copy and pasting -->
<screen><userinput>GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include &amp;&amp;
-find ${GCC_INCLUDEDIR}/* -xtype d -exec rm -rf \{} \; &amp;&amp;
+find ${GCC_INCLUDEDIR}/* -xtype d -exec rm -rf \{} \;
rm -f `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` &amp;&amp;
unset GCC_INCLUDEDIR</userinput></screen>