Define a action if no files have been changed, thanks to grobian. That should prevent...
authoridl0r <idl0r@gentoo.org>
Fri, 1 May 2009 20:21:50 +0000 (20:21 -0000)
committeridl0r <idl0r@gentoo.org>
Fri, 1 May 2009 20:21:50 +0000 (20:21 -0000)
svn path=/; revision=572

trunk/src/echangelog/echangelog

index 0bd90fb5a3bbb874f839e3a6c8808b91a43830a4..834e4ac4cd5d7821d72fabfd8216241b706124fb 100755 (executable)
@@ -458,7 +458,12 @@ unless (@files) {
        }
 
        @files = sort sortfunc @trivial;
-       @files = qw/ChangeLog/ unless @files;  # last resort to put something in the list
+
+       # last resort to put something in the list
+       unless (@files) {
+               @files = qw/ChangeLog/;
+               $actions{'ChangeLog'} = "";
+       }
 }
 
 # sort