summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVagabond <none@none>2010-03-02 17:34:12 -0500
committerVagabond <none@none>2010-03-02 17:34:12 -0500
commitc4d3f0ea6580197a608f6a3e07ce58acfb419ab5 (patch)
tree82a8f61860b53ee412c058a8bb991705044c35ec /src
parent4ce01860e9ebafee30e2d2f59bcc47f026cec6f9 (diff)
Fix dependancy checking for headers by ensuring "include" is always in the eep IncludePath
Diffstat (limited to 'src')
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 2065a60..6eb71e2 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -96,7 +96,7 @@ doterl_compile(Config, OutDir, MoreSources) ->
-spec include_path(Source::string(), Config::#config{}) -> [string()].
include_path(Source, Config) ->
ErlOpts = rebar_config:get(Config, erl_opts, []),
- [filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts).
+ ["include", filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts).
-spec inspect(Source::string(), IncludePath::[string()]) -> {string(), [string()]}.
inspect(Source, IncludePath) ->