diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 8fd25bf08..3106c10c2 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -16,10 +16,11 @@ Install Glibc by running the following commands:
touch /etc/ld.so.conf &&
mkdir /usr/src/glibc-build &&
cd /usr/src/glibc-build &&
- sed -e 's|$(PERL)|/usr/bin/perl|' \
- ../glibc-2.2.1/malloc/Makefile > tmp~
- &&
- mv tmp~ ../glibc-2.2.1/malloc/Makefile &&
+ sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \
+ ../glibc-2.2.1/malloc/Makefile
+ > tmp~ &&
+ mv tmp~ ../glibc-2.2.1/malloc/Makefile &&
+
../glibc-2.2.1/configure \
--prefix=/usr --enable-add-ons
\