X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=do-commit.sh;h=d36aa338cb02d96eb177940e7a44491268205339;hb=ad286e74a2a6c97f36812497d275ce3c6af3dab3;hp=4e26a3d9f8c08dbdffe5d26d899905b244bcc352;hpb=e83dbdbc6200a71981d06773869cd0492f81f16c;p=apps%2Fmadmutt.git diff --git a/do-commit.sh b/do-commit.sh index 4e26a3d..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.date +echo "`svn info | awk -F': ' '/^Revision: / {print $2}'`+1" | bc > ./trunk/VERSION.svn svn commit "$@"