1#!/bin/sh
2
3MAJOR=`grep "export XEN_VERSION" $1 | sed 's/.*=//g' | tr -s " "`
4MINOR=`grep "export XEN_SUBVERSION" $1 | sed 's/.*=//g' | tr -s " "`
5printf "%d.%d" $MAJOR $MINOR
6