Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Look for 7z in libexec as well as bin on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Oct 24, 2019
1 parent 24cf9b9 commit beb9633
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/PlatformEngines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,10 @@ function probe_platform_engines!(;verbose::Bool = false)
# On windows, we bundle 7z with Julia, so try invoking that directly
exe7z = joinpath(Sys.BINDIR, "7z.exe")
prepend!(compression_engines, [(`$exe7z --help`, gen_7z(exe7z)...)])

# Also look in libexec
exe7z = joinpath(Sys.BINDIR, "..", "libexec", "7z.exe")
prepend!(compression_engines, [(`$exe7z --help`, gen_7z(exe7z)...)])

# And finally, we want to look for sh as busybox as well:
busybox = joinpath(Sys.BINDIR, "busybox.exe")
Expand Down

1 comment on commit beb9633

@staticfloat
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.