add cwd to LOAD_PATH

time-shift
Houtan Bastani 2015-07-28 11:55:38 +02:00
parent 1f2fad8c8d
commit 53cb8fc639
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,9 @@ module Dynare
export dynare
function dynare(modfile)
# Add cd to path
unshift!(LOAD_PATH, pwd())
# Process modfile
println(string("Using ", WORD_SIZE, "-bit preprocessor"))
preprocessor = string(dirname(@__FILE__()), "/preprocessor", WORD_SIZE, "/dynare_m")