From 4874cfe9b335e373fffc7ad05c58def3a797618a Mon Sep 17 00:00:00 2001 From: idl0r Date: Fri, 1 May 2009 20:21:50 +0000 Subject: [PATCH] Define a action if no files have been changed, thanks to grobian. That should prevent "Use of uninitialized value in concatenation" warnings. svn path=/; revision=572 --- trunk/src/echangelog/echangelog | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/trunk/src/echangelog/echangelog b/trunk/src/echangelog/echangelog index 0bd90fb..834e4ac 100755 --- a/trunk/src/echangelog/echangelog +++ b/trunk/src/echangelog/echangelog @@ -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 -- 2.26.2