Author: pierre
Date: Fri May 20 04:46:49 2016
New Revision: 3861
Log:
change the way the hostreqs.xml file is found, to account for recent move from
prologue to chapter 2 in
LFS
Modified:
jhalfs/trunk/common/libs/func_check_version.sh
Modified: jhalfs/trunk/common/libs/func_check_version.sh
==============================================================================
--- jhalfs/trunk/common/libs/func_check_version.sh Sat Mar 19 13:25:09
2016 (r3860)
+++ jhalfs/trunk/common/libs/func_check_version.sh Fri May 20 04:46:49
2016 (r3861)
@@ -88,12 +88,9 @@
check_prerequisites() { #
#----------------------------#
- case $PROGNAME in
- clfs | clfs2 | clfs3) HOSTREQS="BOOK/prologue/common/hostreqs.xml" ;;
- *) HOSTREQS="prologue/hostreqs.xml" ;;
- esac
+ HOSTREQS=$(find $BOOK -name hostreqs.xml)
- eval $(xsltproc $COMMON_DIR/hostreqs.xsl $BOOK/$HOSTREQS)
+ eval $(xsltproc $COMMON_DIR/hostreqs.xsl $HOSTREQS)
# Avoid translation of version strings
local LC_ALL=C
export LC_ALL
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page