diff options
author | Marius Kintel <marius@kintel.net> | 2012-07-07 20:02:51 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-07-07 20:02:51 (GMT) |
commit | 0d619e5ac155e37c432d57062d8224a58c9d59ab (patch) | |
tree | 10183df17cd4786ee1ef43b95c988fefd13ca990 /src/lexer.l | |
parent | aa8aee623adc74cbfe87f9e92e30be4a9ed3a7c8 (diff) | |
parent | b028b704e029a5161d3703efda35642a37c28cb6 (diff) |
Merge branch 'master' into linear_extrude_argument
Diffstat (limited to 'src/lexer.l')
-rw-r--r-- | src/lexer.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lexer.l b/src/lexer.l index 188046f..f939330 100644 --- a/src/lexer.l +++ b/src/lexer.l @@ -118,7 +118,7 @@ use[ \t\r\n>]*"<" { BEGIN(cond_use); } else { usepath = sourcepath() / filename; if (!fs::exists(usepath)) { - usepath = boosty::absolute(fs::path(get_librarydir()) / filename); + usepath = locate_file(filename); } } /* Only accept regular files which exists */ @@ -214,7 +214,7 @@ void includefile() fs::path finfo = dirinfo / filename; if (!exists(finfo)) { - finfo = fs::path(get_librarydir()) / filepath / filename; + finfo = locate_file((fs::path(filepath) / filename).string()); } filepath.clear(); |