aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-15 17:56:56 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-01-15 17:56:56 +0100
commitf6716e95bb5ea6fc267f228880b46e9509fc4801 (patch)
tree1ac98584fc5da732a1745e95ca81ae07f04b8edc /scripts
parentc2a8b5c42d37e129a893ee42479dbf395fdf7d4c (diff)
Shut up "Wide character in print" warning in copy-from-other-stores.pl
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/copy-from-other-stores.pl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/copy-from-other-stores.pl.in b/scripts/copy-from-other-stores.pl.in
index cf36bae9e..8ce5a9d40 100755
--- a/scripts/copy-from-other-stores.pl.in
+++ b/scripts/copy-from-other-stores.pl.in
@@ -9,6 +9,7 @@ my $binDir = $ENV{"NIX_BIN_DIR"} || "@bindir@";
STDOUT->autoflush(1);
+binmode STDERR, ":encoding(utf8)";
my @remoteStoresAll = split ':', ($ENV{"NIX_OTHER_STORES"} or "");