diff options
Diffstat (limited to 'releng/parsetmpl.sh')
-rwxr-xr-x | releng/parsetmpl.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/releng/parsetmpl.sh b/releng/parsetmpl.sh new file mode 100755 index 0000000..8e4eac2 --- /dev/null +++ b/releng/parsetmpl.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # this script parses a template to replace @@ tokens | ||
4 | |||
5 | cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/`date +%s`/g | sed s/@@SVNREV/`svnversion`/g | ||