* [gentoo-commits] gentoolkit r572 - trunk/src/echangelog
@ 2009-05-01 20:21 Christian Ruppert (idl0r)
0 siblings, 0 replies; only message in thread
From: Christian Ruppert (idl0r) @ 2009-05-01 20:21 UTC (permalink / raw
To: gentoo-commits
Author: idl0r
Date: 2009-05-01 20:21:50 +0000 (Fri, 01 May 2009)
New Revision: 572
Modified:
trunk/src/echangelog/echangelog
Log:
Define a action if no files have been changed, thanks to grobian. That should prevent "Use of uninitialized value in concatenation" warnings.
Modified: trunk/src/echangelog/echangelog
===================================================================
--- trunk/src/echangelog/echangelog 2009-05-01 19:11:27 UTC (rev 571)
+++ trunk/src/echangelog/echangelog 2009-05-01 20:21:50 UTC (rev 572)
@@ -458,7 +458,12 @@
}
@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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-01 20:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01 20:21 [gentoo-commits] gentoolkit r572 - trunk/src/echangelog Christian Ruppert (idl0r)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox