projects
/
p5sagit/Distar.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a12a101
)
fix unicode handling when writing Makefile
Graham Knop [Sat, 21 Sep 2013 04:16:24 +0000 (
00:16
-0400)]
lib/Distar.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Distar.pm
b/lib/Distar.pm
index
afe458a
..
817311c
100644
(file)
--- a/
lib/Distar.pm
+++ b/
lib/Distar.pm
@@
-156,6
+156,12
@@
sub _clone {
Distar::write_manifest_skip($self)
unless $maniskip_tracked;
+
+ my @results = @{$self->{RESULT}};
+ if ($MM_VER < 7) {
+ utf8::encode($_) for @results;
+ }
+ local $self->{RESULT} = \@results;
$self->SUPER::flush(@_);
}