r2074 - jhalfs/trunk

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Tue Oct 4 17:35:16 PDT 2005


Author: jhuntwork
Date: 2005-10-04 18:35:13 -0600 (Tue, 04 Oct 2005)
New Revision: 2074

Modified:
   jhalfs/trunk/jhalfs
Log:
Just have the chroot variables use the $(LFS) make variable, instead of trying to get the shell to use it

Modified: jhalfs/trunk/jhalfs
===================================================================
--- jhalfs/trunk/jhalfs	2005-10-05 00:13:29 UTC (rev 2073)
+++ jhalfs/trunk/jhalfs	2005-10-05 00:35:13 UTC (rev 2074)
@@ -619,7 +619,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|&&exit||g' -e 's|$| -c|'`
+      -e 's/  */ /g' -e 's|\\$|&&|g' -e 's|&&exit||g' -e 's|$| -c|' -e 's|"$$LFS"|$(LFS)|'`
     echo -e "CHROOT$i= $chroot\n" >> $MKFILE
     i=`expr $i + 1`
   done




More information about the alfs-log mailing list