Need to cd into the unpacked source directories in chapter6

This commit is contained in:
Jeremy Huntwork 2005-10-05 00:58:01 +00:00
parent ad5f7f7775
commit a7d20b82ad

12
jhalfs
View file

@ -550,7 +550,17 @@ EOF
EOF
) >> $MKFILE.tmp
# The rest of Chapter06 use CHROOT1 function
# If we have a package we need to cd into the directory
elif [ "$vrs" != "" ] ; then
(
cat << EOF
@echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >logs/$i && \\
\$(CHROOT1) 'cd /jhalfs && source envars && cd \$\$PKGDIR && commands/$file >>logs/$i 2>&1' && \\
echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=0??-* \$(LFS)\`\n" >>logs/$i
EOF
) >> $MKFILE.tmp
# The rest of Chapter06
else
(
cat << EOF