Changeset 46ac330
- Timestamp:
- 04/30/2017 09:50:25 PM (7 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 59bb076
- Parents:
- cee84ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
rcee84ad r46ac330 444 444 case $PROGNAME in 445 445 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/<\/.*//') ;; 447 447 lfs) 448 448 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) 450 450 else 451 VERSION=$(grep 'ENTITY versiond' $ JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)451 VERSION=$(grep 'ENTITY versiond' $BOOK/general.ent| cut -d\" -f2) 452 452 fi 453 453 ;; 454 454 *) 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/<\/.*//') ;; 456 456 esac 457 457 fi
Note:
See TracChangeset
for help on using the changeset viewer.