[lfs-book] r9754 - trunk/BOOK/prologue

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Fri Feb 24 10:44:42 PST 2012


Author: bdubbs
Date: 2012-02-24 11:44:37 -0700 (Fri, 24 Feb 2012)
New Revision: 9754

Modified:
   trunk/BOOK/prologue/hostreqs.xml
Log:
Spacing touchups for pdf rendeering

Modified: trunk/BOOK/prologue/hostreqs.xml
===================================================================
--- trunk/BOOK/prologue/hostreqs.xml	2012-02-24 17:59:03 UTC (rev 9753)
+++ trunk/BOOK/prologue/hostreqs.xml	2012-02-24 18:44:37 UTC (rev 9754)
@@ -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 > version-check.sh << "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 -> `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 -> `readlink -f /usr/bin/yacc`"; 
   else echo "yacc not found"; fi
@@ -167,7 +165,6 @@
 diff --version | head -n1
 find --version | head -n1
 gawk --version | head -n1
-
 if [ -e /usr/bin/awk ];
   then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`"; 
   else echo "awk not found"; fi
@@ -187,10 +184,10 @@
 xz --version | head -n1
 
 echo 'main(){}' > dummy.c && 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>




More information about the lfs-book mailing list