Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 263b277

Browse files
tbeasonnalimilan
authored andcommitted
JULIA_HOME is no longer defined (#136)
On Julia 0.7 JULIA_HOME is no longer defined, which results in build errors. I updated usage to Compat.Sys.BINDIR.
1 parent d7c9262 commit 263b277

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
julia 0.6
2-
Compat 0.30.0
2+
Compat 0.42.0
33
URIParser 0.0.3
44
@unix HTTPClient 0.0.0
55
LibExpat 0.2.8

src/WinRPM.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ __precompile__()
33
module WinRPM
44

55
using Compat
6-
using Compat.Sys: iswindows, isunix
6+
using Compat.Sys: iswindows, isunix, BINDIR
77

88
if isunix()
99
using HTTPClient.HTTPC
@@ -446,7 +446,7 @@ function do_install(packages::Packages)
446446
end
447447
end
448448

449-
const exe7z = iswindows() ? joinpath(JULIA_HOME, "7z.exe") : "7z"
449+
const exe7z = iswindows() ? joinpath(BINDIR, "7z.exe") : "7z"
450450

451451
function do_install(package::Package)
452452
name = names(package)

0 commit comments

Comments
 (0)