fix: default path
This commit is contained in:
parent
167549de59
commit
ba7d14ebc2
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def parseSearchPath (path : String) (sp : SearchPath := ∅) : IO SearchPath :=
|
|||
|
||||
def getBuiltinSearchPath : IO SearchPath :=
|
||||
do appDir ← IO.appDir;
|
||||
let libDir := appDir ++ pathSep ++ ".." ++ pathSep ++ "library" ++ pathSep ++ "Init";
|
||||
let libDir := appDir ++ pathSep ++ ".." ++ pathSep ++ "src" ++ pathSep ++ "Init";
|
||||
libDirExists ← IO.isDir libDir;
|
||||
if libDirExists then do
|
||||
path ← realPathNormalized libDir;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue