X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=do-commit.sh;h=4cb7e7cf0178c43bfef40425da167cc244225487;hp=d36aa338cb02d96eb177940e7a44491268205339;hb=e745050e2e9e1078a009828ed6db68fd72db771c;hpb=ad286e74a2a6c97f36812497d275ce3c6af3dab3 diff --git a/do-commit.sh b/do-commit.sh index d36aa33..4cb7e7c 100755 --- a/do-commit.sh +++ b/do-commit.sh @@ -1,4 +1,8 @@ #!/bin/sh svn update -echo "`svn info | awk -F': ' '/^Revision: / {print $2}'`+1" | bc > ./trunk/VERSION.svn -svn commit "$@" +echo "`svn info | awk -F': ' '/^Revision: / {print $2}'`+1" | bc > ./VERSION.svn +if [ x"$1" != x ] ; then + svn commit do-commit.sh VERSION.svn "$@" +else + svn commit +fi