From 002f8a77bc51aa2defc866bb600c8dd7a5f4b8b5 Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Wed, 5 Oct 2005 00:35:13 +0000 Subject: [PATCH] Just have the chroot variables use the $(LFS) make variable, instead of trying to get the shell to use it --- jhalfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jhalfs b/jhalfs index af6ab93..15e3dcb 100755 --- a/jhalfs +++ b/jhalfs @@ -619,7 +619,7 @@ EOF 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