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:
parent
16c67edebd
commit
002f8a77bc
1 changed files with 1 additions and 1 deletions
2
jhalfs
2
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
|
||||
|
|
Reference in a new issue