67b03a2eb5f46c3426078b7d89c3a0c4329227cb
[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.043018 seconds and 3 git commands to generate.