2006-10-17 [colin] 2.5.5cvs11
[claws.git] / commitHelper
index f8496dd135970c23398f729b21dfe5483726b5ae..e0fae9ca1b5a73c8d1e8f9161b3243c1c89899ce 100644 (file)
@@ -86,15 +86,18 @@ for line in $files; do
 done;
 patchset="$patchset ) > $nextsversion.patchset"
 
-if [ "$EDITOR" == "" ]; then
-       if [ "$VISUAL" != "" ]; then
-               EDITOR=$VISUAL
-       else
-               EDITOR=vi
+if [ "$CVSEDITOR" == "" ]; then
+       if [ "$EDITOR" == "" ]; then
+               if [ "$VISUAL" != "" ]; then
+                       EDITOR=$VISUAL
+               else
+                       EDITOR=vi
+               fi;
        fi;
+else
+       EDITOR=$CVSEDITOR
 fi;
 
-
 echo -e "#please complete the changelog entry below" > /tmp/logentry
 echo -e -n $log >> /tmp/logentry
 
@@ -130,5 +133,5 @@ if [ "$ans" == "y" ]; then
                cvs commit -m "`cat /tmp/logentry` "
        fi;
        rm -f /tmp/logentry
-       wget -O /dev/null -o /dev/null http://www.colino.net/sylpheed-claws-gtk2/update.php3
+       wget -O /dev/null -o /dev/null http://www.colino.net/sylpheed-claws/update.php3
 fi