2006-09-10 [wwp] 2.4.0cvs172
[claws.git] / commitHelper
index f8496dd135970c23398f729b21dfe5483726b5ae..260c3b1c5d43e837641ee1f6e377b845adeb9bd0 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