Author: jhuntwork
Date: 2007-08-07 23:04:07 -0600 (Tue, 07 Aug 2007)
New Revision: 8290
Modified:
branches/jh/BOOK/chapter05/gzip.xml
branches/jh/BOOK/chapter06/gzip.xml
Log:
Fix broken loops
Modified: branches/jh/BOOK/chapter05/gzip.xml
===================================================================
--- branches/jh/BOOK/chapter05/gzip.xml 2007-08-08 04:52:10 UTC (rev 8289)
+++ branches/jh/BOOK/chapter05/gzip.xml 2007-08-08 05:04:07 UTC (rev 8290)
@@ -41,9 +41,9 @@
by Gzip is incompatible with the version that current
Glibc provides, so we'll rename the function:</para>
-<screen><userinput>for file gzip.c lib/utimens.{c,h} ; do \
+<screen><userinput>for file in gzip.c lib/utimens.{c,h} ; do \
cp -v $file{,.orig}
- sed 's/futimens/gl_&' $file.orig > $file
+ sed 's/futimens/gl_&/' $file.orig > $file
done</userinput></screen>
<para>Prepare Gzip for compilation:</para>
Modified: branches/jh/BOOK/chapter06/gzip.xml
===================================================================
--- branches/jh/BOOK/chapter06/gzip.xml 2007-08-08 04:52:10 UTC (rev 8289)
+++ branches/jh/BOOK/chapter06/gzip.xml 2007-08-08 05:04:07 UTC (rev 8290)
@@ -39,7 +39,7 @@
by Gzip is incompatible with the version that current
Glibc provides, so we'll rename the function:</para>
-<screen><userinput>for file gzip.c lib/utimens.{c,h} ; do \
+<screen><userinput>for file in gzip.c lib/utimens.{c,h} ; do \
cp -v $file{,.orig}
sed 's/futimens/gl_&/' $file.orig > $file
done</userinput></screen>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page