diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-08-23 20:18:17 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2005-08-23 20:18:17 +0000 |
commit | af417913c57ed2255d513ba57fd2bbfaaf1767c5 (patch) | |
tree | ed9dcd41b2e6a8f42b39ac2dc7cc9fecaec8c5cb | |
parent | 8f82a9e82daaec348c4507f45d34e25b44b27bb1 (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.xml | 5 | ||||
-rw-r--r-- | chapter05/adjusting.xml | 2 |
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 && 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 && -find ${GCC_INCLUDEDIR}/* -xtype d -exec rm -rf \{} \; && +find ${GCC_INCLUDEDIR}/* -xtype d -exec rm -rf \{} \; rm -f `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` && unset GCC_INCLUDEDIR</userinput></screen> |