mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 22:56:58 -04:00
tools/generate-change-log: workaround for broken Text::Wrap
workaround for broken Text::Wrap: "This shouldn't happen at /usr/share/perl/5.18/Text/Wrap.pm line 84." changing huge to overflow make generating changelogs work again at the price of not having changelog strictly cut of at 80 columns anymore. Words longer than 80 characters will now printed in one line. This mainly affects old sf.net urls. Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
This commit is contained in:
parent
de6f3dddf6
commit
15f8dab30e
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ use Text::Wrap;
|
|||
|
||||
# The lines will have a length of no more than $columns - 1.
|
||||
$Text::Wrap::columns = 81;
|
||||
$Text::Wrap::huge = 'overflow';
|
||||
|
||||
if (system('git rev-parse --git-dir >/dev/null 2>&1') != 0) {
|
||||
print "Not a Git repository, so I won't update the ChangeLog.\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue