diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml
index 6fe087d9e..0ba38e1db 100644
--- a/chapter02/hostreqs.xml
+++ b/chapter02/hostreqs.xml
@@ -157,7 +157,6 @@
To see whether your host system has all the appropriate versions, and
the ability to compile programs, run the following:
-
cat > version-check.sh << "EOF"
#!/bin/bash
# Simple script to list version numbers of critical development tools
@@ -208,7 +207,7 @@ sed --version | head -n1
tar --version | head -n1
makeinfo --version | head -n1 # texinfo version
xz --version | head -n1
-
+
echo 'int main(){}' > dummy.c && g++ -o dummy dummy.c
if [ -x dummy ]
then echo "g++ compilation OK";