diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml
index 3b5d40309..698e181ab 100644
--- a/chapter06/glibc-inst.xml
+++ b/chapter06/glibc-inst.xml
@@ -26,8 +26,8 @@ would do.
--libexecdir=/usr/bin &&
cp -f config.make config.make.backup &&
sed 's/cross-compiling = yes/cross-compiling = no/' \
- config.make > config.make~ &&
-mv -f config.make~ config.make &&
+ config.make > tmp~ &&
+mv -f tmp~ config.make &&
make &&
make install &&
make localedata/install-locales &&