Correct a path for clfs, in the version extraction code

This commit is contained in:
Pierre Labastie 2013-09-17 13:42:25 +00:00
parent 809a821b19
commit a1dd968a36

View file

@ -59,7 +59,7 @@ extract_commands() { #
cd $JHALFSDIR
case $PROGNAME in
clfs*)
VERSION=$(xmllint --noent BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;;
VERSION=$(xmllint --noent $BOOK/BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;;
*)
VERSION=$(xmllint --noent $BOOK/prologue/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;;
esac