aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/glibc.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-01 16:04:00 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-01 16:04:00 +0000
commitea31e92687668e445e973b27dec7adea7ec41c05 (patch)
treea66431745cc43ec6be7c122452f0faee8edec996 /chapter06/glibc.xml
parentcef8931b0a1ff2d1bf078d3940cae052a029f31e (diff)
Formatting fixes for pdf line overflow
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/glibc.xml')
-rw-r--r--chapter06/glibc.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index bddf4e570..87e113292 100644
--- a/chapter06/glibc.xml
+++ b/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>