diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index dd3487355..790f3973a 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -46,8 +46,8 @@
Though not mandatory in this chapter, if you plan on running the test
suite, you should apply the following patches:
-patch -Np1 -i &glibc-iconv-test-fixes-patch;
-patch -Np1 -i &glibc-ildoubl-test-fix-patch;
+patch -Np1 -i ../&glibc-iconv-test-fixes-patch;
+patch -Np1 -i ../&glibc-ildoubl-test-fix-patch;
The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index fa3ba061c..f83632432 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -91,8 +91,8 @@ mv glibc-libidn-&glibc-version; libidn-->
First apply two patches which correct failures in the test
suite:
-patch -Np1 -i &glibc-iconv-test-fixes-patch;
-patch -Np1 -i &glibc-ildoubl-test-fix-patch;
+patch -Np1 -i ../&glibc-iconv-test-fixes-patch;
+patch -Np1 -i ../&glibc-ildoubl-test-fix-patch;
The ldd shell script contains Bash-specific