4cb7e7cf0178c43bfef40425da167cc244225487
[apps/madmutt.git] / do-commit.sh
1 #!/bin/sh
2 svn update
3 echo "`svn info | awk -F': ' '/^Revision: / {print $2}'`+1" | bc > ./VERSION.svn
4 if [ x"$1" != x ] ; then
5   svn commit do-commit.sh VERSION.svn "$@"
6 else
7   svn commit
8 fi