Just have the chroot variables use the $(LFS) make variable, instead of trying to get the shell to use it

This commit is contained in:
Jeremy Huntwork 2005-10-05 00:35:13 +00:00
parent 16c67edebd
commit 002f8a77bc

2
jhalfs
View file

@ -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