Rocco Rutte:
[apps/madmutt.git] / do-commit.sh
index 02f9ff2..d36aa33 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
-echo "\$Revision\$ `date`" > ./.dummy
-svn commit
+svn update
+echo "`svn info | awk -F': ' '/^Revision: / {print $2}'`+1" | bc > ./trunk/VERSION.svn
+svn commit "$@"