source: binary-improvements/versions.sh@ 489

Last change on this file since 489 was 489, checked in by alloc, 5 months ago

Updated version.sh

  • Property svn:executable set to *
File size: 290 bytes
Line 
1#!/bin/bash
2VERSIONS=""
3for F in `find bin -name ModInfo.xml | sort`
4do
5 xmlstarlet sel -T -t -v /xml/DisplayName/@value -o ": " -v /xml/Version/@value -n $F
6 VERSIONS="${VERSIONS}`xmlstarlet sel -T -t -v /xml/Version/@value $F`_"
7done
8VERSIONS=${VERSIONS:0:-1}
9echo "Combined: $VERSIONS"
10
Note: See TracBrowser for help on using the repository browser.