From f6716e95bb5ea6fc267f228880b46e9509fc4801 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 15 Jan 2015 17:56:56 +0100 Subject: [PATCH] Shut up "Wide character in print" warning in copy-from-other-stores.pl --- scripts/copy-from-other-stores.pl.in | 1 + 1 file changed, 1 insertion(+) 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 "");