Changeset 46ac330 for jhalfs


Ignore:
Timestamp:
04/30/2017 09:50:25 PM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
59bb076
Parents:
cee84ad
Message:

Fix the path to the book used when "Rebuild the Makefile" has been selected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jhalfs

    rcee84ad r46ac330  
    444444  case $PROGNAME in
    445445    clfs* )
    446       VERSION=$(xmllint --noent $JHALFSDIR/$BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
     446      VERSION=$(xmllint --noent $BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
    447447    lfs)
    448448      if [[ "$INITSYS" = "sysv" ]] ; then
    449         VERSION=$(grep 'ENTITY version ' $JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)
     449        VERSION=$(grep 'ENTITY version ' $BOOK/general.ent| cut -d\" -f2)
    450450      else
    451         VERSION=$(grep 'ENTITY versiond' $JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)
     451        VERSION=$(grep 'ENTITY versiond' $BOOK/general.ent| cut -d\" -f2)
    452452      fi
    453453      ;;
    454454    *)
    455       VERSION=$(xmllint --noent $JHALFSDIR/$BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
     455      VERSION=$(xmllint --noent $BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
    456456  esac
    457457fi
Note: See TracChangeset for help on using the changeset viewer.