X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=do-commit.sh;h=4cb7e7cf0178c43bfef40425da167cc244225487;hp=1376de8410d930aeaa07d29d08983aa5936a92d7;hb=e745050e2e9e1078a009828ed6db68fd72db771c;hpb=8243e9994488a1cd45419e57d0040e321fdb2173 diff --git a/do-commit.sh b/do-commit.sh index 1376de8..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 > ./VERSION.svn -svn commit "$@" +if [ x"$1" != x ] ; then + svn commit do-commit.sh VERSION.svn "$@" +else + svn commit +fi