summaryrefslogtreecommitdiff
path: root/src/rebar_prv_compile.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-05-21 11:19:12 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-05-21 11:19:12 -0400
commitd91c37ed5cee67a44cc95b4a9e54e6e8582818a9 (patch)
tree935c93b9ace60640448b100cff01580bfbd2a9a9 /src/rebar_prv_compile.erl
parentab1d2645576442309b69233c8bf82824f2c6cdbd (diff)
parentefd2445c7424d118a4cef3b3db6c5e323ede2484 (diff)
Merge pull request #443 from kovyl2404/singleapp-project-duplicated-hook
Run hooks for single application only once.
Diffstat (limited to 'src/rebar_prv_compile.erl')
-rw-r--r--src/rebar_prv_compile.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_compile.erl b/src/rebar_prv_compile.erl
index b80d90c..1dff4d8 100644
--- a/src/rebar_prv_compile.erl
+++ b/src/rebar_prv_compile.erl
@@ -37,7 +37,7 @@ do(State) ->
ProjectApps = rebar_state:project_apps(State),
Providers = rebar_state:providers(State),
Deps = rebar_state:deps_to_build(State),
- Cwd = rebar_dir:get_cwd(),
+ Cwd = rebar_state:dir(State),
%% Need to allow global config vars used on deps
%% Right now no way to differeniate and just give deps a new state