source: binary-improvements/versions.sh@ 304

Last change on this file since 304 was 244, checked in by alloc, 9 years ago

Fixes intermediate state

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