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