r2068 - jhalfs/trunk

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Mon Oct 3 15:32:11 PDT 2005


Author: manuel
Date: 2005-10-03 16:32:10 -0600 (Mon, 03 Oct 2005)
New Revision: 2068

Modified:
   jhalfs/trunk/jhalfs
Log:
Fixed the generation of the chroot commands in the Makefile.

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-03 22:00:09 UTC (rev 2067)
+++ jhalfs/trunk/jhalfs	2005-10-03 22:32:10 UTC (rev 2068)
@@ -530,7 +530,7 @@
   i=1
   for file in chapter06/*chroot* ; do
     chroot=`cat $file | sed -e '/#!\/bin\/sh/d' -e 's@ \\\@ @g' | tr -d '\n' | sed \
-      -e 's/  */ /g' -e 's|\\$|&&|g' -e 's|$| -c|'`
+      -e 's/  */ /g' -e 's|\\$|&&|g' -e 's|&&exit||g' -e 's|$| -c|'`
     echo -e "CHROOT$i= $chroot\n" >> $MKFILE
     i=`expr $i + 1`
   done




More information about the alfs-log mailing list