Skip to content

Commit

Permalink
add Pkg.dir() to LOAD_PATH (keep Documenter working)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Dec 31, 2017
1 parent 7ea2540 commit 74c9292
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/initdefs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function init_load_path(BINDIR = Sys.BINDIR)
load_path = get(ENV, "JULIA_LOAD_PATH", "@|@v#.#.#|@v#.#|@v#|@default|@!v#.#")
append!(empty!(LOAD_PATH), parse_load_path(load_path))
vers = "v$(VERSION.major).$(VERSION.minor)"
push!(LOAD_PATH, Pkg.dir())
push!(LOAD_PATH, abspath(BINDIR, "..", "local", "share", "julia", "site", vers))
push!(LOAD_PATH, abspath(BINDIR, "..", "share", "julia", "site", vers))
end
Expand Down

0 comments on commit 74c9292

Please sign in to comment.