From a4cb62ac25931b269a9827beb1d1274b48c44f7c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 15 May 2013 15:47:05 +0200 Subject: [PATCH] download-from-binary-cache.pl: Get rid of an uninitialized value warning Reported by Pablo Costa. --- scripts/download-from-binary-cache.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index a511f65b4..4ca494497 100644 --- a/scripts/download-from-binary-cache.pl.in +++ b/scripts/download-from-binary-cache.pl.in @@ -225,7 +225,7 @@ sub getAvailableCaches { } } - my @untrustedUrls = strToList $Nix::Config::config{"untrusted-extra-binary-caches"}; + my @untrustedUrls = strToList $Nix::Config::config{"untrusted-extra-binary-caches"} // ""; foreach my $url (@untrustedUrls) { next unless scalar(grep { $url eq $_ } @trustedUrls) > 0; push @urls, $url;