3 revision
=$
(svn info|
grep Revision|
sed 's/Revision: //')
5 if [ -n "$(svn status|grep '^M')" ]; then
6 status
=" with local changes"
11 echo '// This file is created automatically, your changes will be lost.' > svnrevision.h
12 echo '#define SVNREVISION "r'$revision$status'"' >> svnrevision.h
This page took 0.051807 seconds and 5 git commands to generate.