This commit was manufactured by cvs2svn to create branch 'gtk2'.
[claws.git] / commitHelper
index b9587ccd0129347efebb2b71fb284c3520dd63f9..14f7518e3de0cd54fce274ed33c6956375b86c6a 100644 (file)
@@ -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;
        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
 
 head -16 configure.ac | grep VERSION= > /tmp/commitTool.tmp
 source /tmp/commitTool.tmp
@@ -53,7 +54,7 @@ if [ "$name" == "reboot" ]; then
        name="christoph";
 fi;
 
        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`
 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
 
        
        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
                echo commiting $@ PATCHSETS $chlog configure.ac
                cvs commit -m "`cat /tmp/logentry`" $@ PATCHSETS $chlog configure.ac
        else