summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-05-12 15:11:54 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-05-12 15:11:54 -0400
commit192e85aafa366a014600b6989480fa0b612b0408 (patch)
treee1a9d3cf839abe3df1b89fbeec2d5a1c1cb50071 /src
parent22549108584cc03fbb879fa8117f620a0e1272b3 (diff)
parente4f9fbfc9d654d3f4b2d949cc0805cff71dfdb21 (diff)
Merge pull request #427 from talentdeficit/415
when compiling ct dirs base compiler input dir on project root rather than profile root
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_common_test.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl
index d4370de..eb51d8d 100644
--- a/src/rebar_prv_common_test.erl
+++ b/src/rebar_prv_common_test.erl
@@ -303,7 +303,7 @@ copy(State, Dir) ->
compile_dir(State, Dir, OutDir) ->
NewState = replace_src_dirs(State, [Dir]),
- ok = rebar_erlc_compiler:compile(NewState, rebar_dir:base_dir(State), OutDir),
+ ok = rebar_erlc_compiler:compile(NewState, rebar_state:dir(State), OutDir),
ok = maybe_cover_compile(State, Dir),
OutDir.