From: Tim Vaughan Date: Wed, 5 Sep 2018 13:55:36 +0000 (+0200) Subject: Removed use of deprecated Pkg.dir. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=a914fb765622b7311425a89694c05a1976cdcc6a;p=forth.jl.git Removed use of deprecated Pkg.dir. --- diff --git a/src/forth.jl b/src/forth.jl index ead0bbc..d80d7e2 100644 --- a/src/forth.jl +++ b/src/forth.jl @@ -1270,7 +1270,7 @@ oldCWD = "" SETLIBCWD_CFA = defPrimWord("SETLIBCWD", () -> begin global oldCWD = pwd() if !isfile("lib.4th") # Exception for debugging. - cd(Pkg.dir("forth","src")) + cd(@__DIR__) # Macro expands to CWD at compile time end return NEXT end)