change gdium conf to print message out both on uart and lcd
[pmon-gdium.git] / tools / stepversion
blobd40fff88ea018f7c755319e632ef8be3b5347d53
1 #! /bin/sh
2 # $Id: stepversion,v 1.1.1.1 2006/09/14 01:59:06 root Exp $
4 if [ ! -w version ]; then rm -f version; echo 1.0 > version; fi
6 awk -F. "NR == 1 {
7 \$NF += 1;
8 version = \$1;
9 for (i = 2; i <= NF; i++) {
10 version = version \".\" \$i;
12 print version > \"version\";
13 print \"const char vers[] = \\\"1.0 Build \" version \"\\\";\";
14 }" < version