aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r--chapter06/coreutils.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index b045897f4..493b39593 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -46,7 +46,9 @@
returns <computeroutput>unknown</computeroutput>. The following patch
fixes this behavior for Intel architectures:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
+<screen><userinput remap="pre">case `uname -m` in
+ i?86 | x86_64) patch -Np1 -i ../&coreutils-uname-patch; ;;
+esac</userinput></screen>
<para>There's an internal issue with Coreutils which makes some of the
programs behave abnormally if you build using an older kernel. Apply a