Skip to content

Commit

Permalink
fix JULIA_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Oct 25, 2022
1 parent f0311af commit 50f46e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JET.jl
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ fullbasepath(filename) = normpath(JULIA_DIR, "base", filename)
const JULIA_DIR = begin
p1 = normpath(Sys.BINDIR, "..", "..")
p2 = normpath(Sys.BINDIR, Base.DATAROOTDIR, "julia")
ispath(p1) ? p1 : p2
ispath(normpath(p1, "base")) ? p1 : p2
end

# default UI (console)
Expand Down

0 comments on commit 50f46e7

Please sign in to comment.