X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=do-commit.sh;h=1376de8410d930aeaa07d29d08983aa5936a92d7;hb=c8c4a96d55967447a5ebe380270adfb97f83cac5;hp=4e26a3d9f8c08dbdffe5d26d899905b244bcc352;hpb=e83dbdbc6200a71981d06773869cd0492f81f16c;p=apps%2Fmadmutt.git diff --git a/do-commit.sh b/do-commit.sh index 4e26a3d..1376de8 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 > ./VERSION.svn svn commit "$@"