aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng/parsetmpl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'releng/parsetmpl.sh')
-rw-r--r--releng/parsetmpl.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/releng/parsetmpl.sh b/releng/parsetmpl.sh
new file mode 100644
index 0000000..0ce6d24
--- /dev/null
+++ b/releng/parsetmpl.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3# this script parses a template to replace @@ tokens
4
5cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/$BUILD/g | sed s/@@SVNREV/`svnversion`/g