X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=do-commit.sh;h=d36aa338cb02d96eb177940e7a44491268205339;hb=ad286e74a2a6c97f36812497d275ce3c6af3dab3;hp=3faaecba854ffd769d0d4ae9c4c8e6512f61e70f;hpb=50cf2c861c766ecec67a3a3d1925c3d74d7f618c;p=apps%2Fmadmutt.git diff --git a/do-commit.sh b/do-commit.sh index 3faaecb..d36aa33 100755 --- a/do-commit.sh +++ b/do-commit.sh @@ -1,5 +1,4 @@ #!/bin/sh svn update -CURREV=`svn info | grep '^Revision' | cut -d : -f 2` -echo "`echo $CURREV+1 | bc`" > ./VERSION.svn +echo "`svn info | awk -F': ' '/^Revision: / {print $2}'`+1" | bc > ./trunk/VERSION.svn svn commit "$@"