Skip to content

Commit 5cc2252

Browse files
authored
Fix use of wrong variable (#415)
1 parent daae967 commit 5cc2252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shards/JLLEnvs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function get_pkg_artifact_dir(pkg::Module, target::String)
219219
info = first(candidates)
220220
name = info["git-tree-sha1"] # this is not a real name but a hash
221221
Artifacts.ensure_artifact_installed(name, info, arftspath)
222-
return normpath(Artifacts.artifact_path(Base.SHA1(hash)))
222+
return normpath(Artifacts.artifact_path(Base.SHA1(name)))
223223
end
224224

225225
function get_pkg_include_dir(pkg::Module, target::String)

0 commit comments

Comments
 (0)