aboutsummaryrefslogtreecommitdiffstats
path: root/prologue
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-02-24 18:44:37 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-02-24 18:44:37 +0000
commit5dcff99d108ff9c005795e57f8692fb0d7195a88 (patch)
treeac0b4f708226d6e716435f99efe0b14f1d905cc1 /prologue
parentc8f269c7f38fa2281d3088877d89e85352cf2f6b (diff)
Spacing touchups for pdf rendeering
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9754 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'prologue')
-rw-r--r--prologue/hostreqs.xml13
1 files changed, 5 insertions, 8 deletions
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index 5961b773a..cf7c711e0 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -146,18 +146,16 @@
<para id="version-check">To see whether your host system has all the appropriate versions, and
the ability to compile programs, run the following:</para>
-<!--<anchor xreflabel="Version Check Script" id="version-check"/>-->
+<!-- ANY additional lines in the script cause a pdf rendering problem-->
<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
<literal>#!/bin/bash
-export LC_ALL=C
-
# Simple script to list version numbers of critical development tools
+export LC_ALL=C
bash --version | head -n1 | cut -d" " -f2-4
echo "/bin/sh -&gt; `readlink -f /bin/sh`"
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
bison --version | head -n1
-
if [ -e /usr/bin/yacc ];
then echo "/usr/bin/yacc -&gt; `readlink -f /usr/bin/yacc`";
else echo "yacc not found"; fi
@@ -167,7 +165,6 @@ echo -n "Coreutils: "; chown --version | head -n1 | cut -d")" -f2
diff --version | head -n1
find --version | head -n1
gawk --version | head -n1
-
if [ -e /usr/bin/awk ];
then echo "/usr/bin/awk -&gt; `readlink -f /usr/bin/awk`";
else echo "awk not found"; fi
@@ -187,10 +184,10 @@ echo "Texinfo: `makeinfo --version | head -n1`"
xz --version | head -n1
echo 'main(){}' &gt; dummy.c &amp;&amp; gcc -o dummy dummy.c
-if [ -x dummy ]; then echo "gcc compilation OK";
+if [ -x dummy ]
+ then echo "gcc compilation OK";
else echo "gcc compilation failed"; fi
-rm -f dummy.c dummy
-</literal>
+rm -f dummy.c dummy</literal>
EOF
bash version-check.sh</userinput></screen>