Ignore:
Timestamp:
05/20/2016 11:46:49 AM (8 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
c9598f2
Parents:
8ebac92
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_check_version.sh

    r8ebac92 r061d54f  
    8989#----------------------------#
    9090
    91   case $PROGNAME in
    92     clfs | clfs2 | clfs3) HOSTREQS="BOOK/prologue/common/hostreqs.xml" ;;
    93     *) HOSTREQS="prologue/hostreqs.xml" ;;
    94   esac
    95 
    96   eval $(xsltproc $COMMON_DIR/hostreqs.xsl $BOOK/$HOSTREQS)
     91  HOSTREQS=$(find $BOOK -name hostreqs.xml)
     92
     93  eval $(xsltproc $COMMON_DIR/hostreqs.xsl $HOSTREQS)
    9794  # Avoid translation of version strings
    9895  local LC_ALL=C
Note: See TracChangeset for help on using the changeset viewer.