Skip to content

Commit

Permalink
Debug tar issue
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Apr 15, 2024
1 parent d2900c1 commit d366690
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion julia/src/download.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ function get_bridgestan_src()
end

try
tmp_extr = Tar.extract(IOBuffer(Inflate.inflate_gzip(tmp)), copy_symlinks = true)
unzipped = IOBuffer(Inflate.inflate_gzip(tmp))
tmp_extr = Tar.extract(unzipped, copy_symlinks = true)
mv(joinpath(tmp_extr, "bridgestan-$pkg_version"), CURRENT_BRIDGESTAN)
catch
error("Failed to unpack $tmp during installation")
Expand Down

0 comments on commit d366690

Please sign in to comment.