log groud type, Roomba ID and type of move
[bachelor-thesis/roomba_tests.git] / svnrevision.sh
1 #!/bin/bash
2
3 revision=$(svn info|grep Revision|sed 's/Revision: //')
4
5 if [ -n "$(svn status|grep '^M')" ]; then
6 status=" with local changes"
7 else
8 status=""
9 fi;
10
11 echo '// This file is created automatically, your changes will be lost.' > svnrevision.h
12 echo '#define SVNREVISION "r'$revision$status'"' >> svnrevision.h
13
This page took 0.049845 seconds and 5 git commands to generate.