forked from lix-project/lix
download-from-binary-cache: strip trailing / from URLs
This commit is contained in:
parent
d694c599e2
commit
2a8e5c8b11
|
@ -7,7 +7,7 @@ use Nix::Store;
|
||||||
use DBI;
|
use DBI;
|
||||||
|
|
||||||
|
|
||||||
my @binaryCacheUrls = split / /, ($ENV{"NIX_BINARY_CACHES"} || "");
|
my @binaryCacheUrls = map { s/\/+$//; $_ } split(/ /, ($ENV{"NIX_BINARY_CACHES"} || ""));
|
||||||
|
|
||||||
my ($dbh, $insertNAR, $queryNAR);
|
my ($dbh, $insertNAR, $queryNAR);
|
||||||
my %cacheIds;
|
my %cacheIds;
|
||||||
|
|
Loading…
Reference in a new issue