generalize a bit
authorColin Leroy <colin@colino.net>
Thu, 22 Jul 2004 12:23:26 +0000 (12:23 +0000)
committerColin Leroy <colin@colino.net>
Thu, 22 Jul 2004 12:23:26 +0000 (12:23 +0000)
commitHelper

index 3a38b2d..fcde9d9 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