Skip to content

Commit

Permalink
fix #1514: install_archive call in backwards_compatible_isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Nov 30, 2019
1 parent c9c9353 commit 488b795
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/backwards_compatible_isolation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ function apply_versions(ctx::Context, pkgs::Vector{PackageSpec}, hashes::Dict{UU
continue
end
try
success = install_archive(urls[pkg.uuid], hashes[pkg.uuid], path)
archive_urls = [url => false for url in urls[pkg.uuid]]
success = install_archive(archive_urls, hashes[pkg.uuid], path)
if success && mode === :add
set_readonly(path) # In add mode, files should be read-only
end
Expand Down

0 comments on commit 488b795

Please sign in to comment.