change the way the hostreqs.xml file is found, to account for recent move from prologue to chapter 2 in

LFS
This commit is contained in:
Pierre Labastie 2016-05-20 11:46:49 +00:00
parent 8ebac92b36
commit 061d54fbd5

View file

@ -88,12 +88,9 @@ inline_doc
check_prerequisites() { # check_prerequisites() { #
#----------------------------# #----------------------------#
case $PROGNAME in HOSTREQS=$(find $BOOK -name hostreqs.xml)
clfs | clfs2 | clfs3) HOSTREQS="BOOK/prologue/common/hostreqs.xml" ;;
*) HOSTREQS="prologue/hostreqs.xml" ;;
esac
eval $(xsltproc $COMMON_DIR/hostreqs.xsl $BOOK/$HOSTREQS) eval $(xsltproc $COMMON_DIR/hostreqs.xsl $HOSTREQS)
# Avoid translation of version strings # Avoid translation of version strings
local LC_ALL=C local LC_ALL=C
export LC_ALL export LC_ALL