mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
download-from-binary-cache.pl: Get rid of an uninitialized value warning
Reported by Pablo Costa.
This commit is contained in:
parent
31a551a60f
commit
a4cb62ac25
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
foreach my $url (@untrustedUrls) {
|
||||||
next unless scalar(grep { $url eq $_ } @trustedUrls) > 0;
|
next unless scalar(grep { $url eq $_ } @trustedUrls) > 0;
|
||||||
push @urls, $url;
|
push @urls, $url;
|
||||||
|
|
Loading…
Reference in a new issue