Browse Source

Formatting fixes for pdf line overflow

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 13 years ago
parent
commit
ea31e92687
2 changed files with 14 additions and 10 deletions
  1. 2 1
      chapter06/coreutils.xml
  2. 12 9
      chapter06/glibc.xml

+ 2 - 1
chapter06/coreutils.xml

@@ -106,7 +106,8 @@
     <para>Now run the tests. Make sure the PATH in the <userinput>su</userinput>
     environment includes /tools/bin.</para>
 
-<screen><userinput remap="test">su nobody -s /bin/bash -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
+<screen><userinput remap="test">su nobody -s /bin/bash \
+          -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen>
 
     <para>Remove the temporary group:</para>
 

+ 12 - 9
chapter06/glibc.xml

@@ -333,17 +333,20 @@ EOF</userinput></screen>
     <para>Install timezone data:</para>
 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz
 
-mkdir -pv /usr/share/zoneinfo/{posix,right} 
-
-for tz in etcetera southamerica northamerica europe africa antarctica \
-          asia australasia backward pacificnew solar87 solar88 solar89 systemv; do
-    zic -L /dev/null   -d /usr/share/zoneinfo       -y "sh yearistype.sh" ${tz} 
-    zic -L /dev/null   -d /usr/share/zoneinfo/posix -y "sh yearistype.sh" ${tz} 
-    zic -L leapseconds -d /usr/share/zoneinfo/right -y "sh yearistype.sh" ${tz}
+ZONEINFO=/usr/share/zoneinfo
+mkdir -pv $ZONEINFO/{posix,right} 
+
+for tz in etcetera southamerica northamerica europe africa antarctica  \
+          asia australasia backward pacificnew solar87 solar88 solar89 \
+          systemv; do
+    zic -L /dev/null   -d $ZONEINFO       -y "sh yearistype.sh" ${tz} 
+    zic -L /dev/null   -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} 
+    zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
 done
 
-cp -v zone.tab iso3166.tab /usr/share/zoneinfo 
-zic -d /usr/share/zoneinfo -p America/New_York</userinput></screen>
+cp -v zone.tab iso3166.tab $ZONEINFO
+zic -d $ZONEINFO -p America/New_York
+unset ZONEINFO</userinput></screen>
 
     <variablelist>
       <title>The meaning of the zic commands:</title>