From: <gi...@cr...> - 2011-12-30 23:26:22
|
via ecb1cff5a3b4d3766e3600a5b7d9ed2222e40746 (commit) from 8edfbb6050f64eb8ca9ec4c2ebd802445ea4e6c2 (commit) ----------------------------------------------------------------------- commit ecb1cff5a3b4d3766e3600a5b7d9ed2222e40746 Author: Raphael Langella <rap...@gm...> Date: Sat Dec 31 00:12:56 2011 +0100 Properly fix #5122. e0ee701ef wasn't enough. ----------------------------------------------------------------------- Summary of changes: crawl-ref/source/util/columnise-credits.pl | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/crawl-ref/source/util/columnise-credits.pl b/crawl-ref/source/util/columnise-credits.pl index fdfd6c1..f322595 100755 --- a/crawl-ref/source/util/columnise-credits.pl +++ b/crawl-ref/source/util/columnise-credits.pl @@ -12,7 +12,9 @@ my $NAMEHEAD = qr/contributed to .*Stone Soup:\s*$/; # msysgit has the module included (it's in core), but locale code is # non-functional. Do nothing in that case; the result will be CREDITS.txt # being a single column -- not as nice but good enough. -my $COLLATOR = Unicode::Collate->new() or exit; +my $COLLATOR; + +eval { $COLLATOR = Unicode::Collate->new(); 1; } or exit; binmode STDOUT, ':utf8'; open my $inf, '<:utf8', $CREDITS -- Dungeon Crawl Stone Soup |