aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/releng/parsetmpl.sh
blob: 8e4eac2328f15701ed562f915d0bbf54b39092be (plain)
1
2
3
4
5
#!/bin/sh

# this script parses a template to replace @@ tokens

cat $1 | sed s/@@VERSION/$OPENSIMMAJOR.$OPENSIMMINOR/g | sed s/@@BUILD/`date +%s`/g | sed s/@@SVNREV/`svnversion`/g