X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=commitHelper;h=14f7518e3de0cd54fce274ed33c6956375b86c6a;hp=b9587ccd0129347efebb2b71fb284c3520dd63f9;hb=a5957781e265d33fe9245e8934de25ae028beac4;hpb=07d2309588529a429c1d8555989fea886b90e861;ds=sidebyside diff --git a/commitHelper b/commitHelper index b9587ccd0..14f7518e3 100644 --- a/commitHelper +++ b/commitHelper @@ -8,6 +8,7 @@ if [ "$1" == "--syncgtk2" ]; then cat configure.ac | sed "s/^EXTRA_GTK2_VERSION=.*/EXTRA_GTK2_VERSION=.0/" > configure.ac.new \ && mv configure.ac.new configure.ac ; fi; +args=`echo $@` head -16 configure.ac | grep VERSION= > /tmp/commitTool.tmp source /tmp/commitTool.tmp @@ -53,7 +54,7 @@ if [ "$name" == "reboot" ]; then name="christoph"; fi; -log="`date +%Y-%m-%d` [$name]\t$nextsversion\n\n" +log="`date --utc +%Y-%m-%d` [$name]\t$nextsversion\n\n" for line in $files; do file=`echo $line | cut -d' ' -f2` dir=`dirname $file` @@ -111,7 +112,7 @@ if [ "$ans" == "y" ]; then echo "$patchset" >> PATCHSETS - if [ "$@" != "" ]; then + if [ "$args" != "" ]; then echo commiting $@ PATCHSETS $chlog configure.ac cvs commit -m "`cat /tmp/logentry`" $@ PATCHSETS $chlog configure.ac else