Changeset 1503465
- Timestamp:
- 05/02/2017 08:36:55 AM (7 years ago)
- Branches:
- 2.4
- Children:
- b9f1fcf
- Parents:
- 5b0b1f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
r5b0b1f2 r1503465 441 441 case $PROGNAME in 442 442 clfs* ) 443 VERSION=$(xmllint --noent $ JHALFSDIR/$BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;;443 VERSION=$(xmllint --noent $BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;; 444 444 lfs) 445 445 if [[ "$INITSYS" = "sysv" ]] ; then 446 VERSION=$(grep 'ENTITY version ' $ JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)446 VERSION=$(grep 'ENTITY version ' $BOOK/general.ent| cut -d\" -f2) 447 447 else 448 VERSION=$(grep 'ENTITY versiond' $ JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)448 VERSION=$(grep 'ENTITY versiond' $BOOK/general.ent| cut -d\" -f2) 449 449 fi 450 450 ;; 451 451 *) 452 VERSION=$(xmllint --noent $ JHALFSDIR/$BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;;452 VERSION=$(xmllint --noent $BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;; 453 453 esac 454 454 fi
Note:
See TracChangeset
for help on using the changeset viewer.