Last change
on this file since 329 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
|
---|
2 | VERSIONS=""
|
---|
3 | for F in `find bin -name ModInfo.xml | sort`
|
---|
4 | do
|
---|
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`_"
|
---|
7 | done
|
---|
8 | VERSIONS=${VERSIONS:0:-1}
|
---|
9 | echo "Combined: $VERSIONS"
|
---|
10 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.