generalize a bit
[claws.git] / commitHelper
index 3a38b2ddefa28c9c76fa94783885f396a0a49af8..fcde9d92b0a022bd17ab8fbfcc31d3483e5aaa65 100644 (file)
@@ -55,8 +55,10 @@ echo -e -n $log
 echo "--8<----------"
 if [ -f ChangeLog-gtk2.claws ]; then
        chlog="ChangeLog-gtk2.claws"
-else
+elif [ -f ChangeLog.claws ]; then
        chlog="ChangeLog.claws"
+else
+       chlog="ChangeLog"
 fi
 echo -n "Is it ok (write to $chlog) [y/N]?"
 read ans