Skip to content

Commit

Permalink
Fix use of wrong variable (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
serenity4 authored Feb 11, 2023
1 parent daae967 commit 5cc2252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shards/JLLEnvs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function get_pkg_artifact_dir(pkg::Module, target::String)
info = first(candidates)
name = info["git-tree-sha1"] # this is not a real name but a hash
Artifacts.ensure_artifact_installed(name, info, arftspath)
return normpath(Artifacts.artifact_path(Base.SHA1(hash)))
return normpath(Artifacts.artifact_path(Base.SHA1(name)))
end

function get_pkg_include_dir(pkg::Module, target::String)
Expand Down

0 comments on commit 5cc2252

Please sign in to comment.