about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-05-15T13·47+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-05-15T13·47+0200
commita4cb62ac25931b269a9827beb1d1274b48c44f7c (patch)
tree44d0606cf65988062102fdf7892a41397dfb6907
parent31a551a60fb8c8cc8f1887f764d88c121ac1a3cf (diff)
download-from-binary-cache.pl: Get rid of an uninitialized value warning
Reported by Pablo Costa.
-rw-r--r--scripts/download-from-binary-cache.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in
index a511f65b4348..4ca494497edc 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;