add cwd to LOAD_PATH
parent
1f2fad8c8d
commit
53cb8fc639
|
@ -21,6 +21,9 @@ module Dynare
|
||||||
export dynare
|
export dynare
|
||||||
|
|
||||||
function dynare(modfile)
|
function dynare(modfile)
|
||||||
|
# Add cd to path
|
||||||
|
unshift!(LOAD_PATH, pwd())
|
||||||
|
|
||||||
# Process modfile
|
# Process modfile
|
||||||
println(string("Using ", WORD_SIZE, "-bit preprocessor"))
|
println(string("Using ", WORD_SIZE, "-bit preprocessor"))
|
||||||
preprocessor = string(dirname(@__FILE__()), "/preprocessor", WORD_SIZE, "/dynare_m")
|
preprocessor = string(dirname(@__FILE__()), "/preprocessor", WORD_SIZE, "/dynare_m")
|
||||||
|
|
Loading…
Reference in New Issue