fix destiny match

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-09-16 19:19:01 +00:00
parent 5a4f2ca631
commit db46208706

View File

@ -24,7 +24,7 @@ while [ ! -f /tmp/destiny.xml ] || grep error /tmp/destiny.xml; do
fi
done
rm /tmp/destreq.xml
DESTINY=`grep destiny /tmp/destiny.xml | awk -F'>' '{print $2}'|awk -F'<' '{print $1}'`
DESTINY=`grep '<destiny>' /tmp/destiny.xml | awk -F'>' '{print $2}'|awk -F'<' '{print $1}'`
rm /tmp/destiny.xml
echo $DESTINY