summaryrefslogtreecommitdiff
path: root/src/rebar_dir.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-04-19 20:19:49 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-04-19 20:19:49 -0400
commit71dfa8eca6a87b29887b0faf09bf2f61b8409485 (patch)
tree52800ee92f9ca48b993d438518ec251ce3edf708 /src/rebar_dir.erl
parentff47ccdd0f52d889d5622ac66104a63db63aad53 (diff)
parent2667dbdd0b9da867da348fe0a6b22933daebad3c (diff)
Merge pull request #353 from tsloughter/dup_hooks
don't duplicate hooks for top level app
Diffstat (limited to 'src/rebar_dir.erl')
-rw-r--r--src/rebar_dir.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_dir.erl b/src/rebar_dir.erl
index 7a12eeb..c0c6bb2 100644
--- a/src/rebar_dir.erl
+++ b/src/rebar_dir.erl
@@ -4,6 +4,7 @@
profile_dir/2,
deps_dir/1,
deps_dir/2,
+ root_dir/1,
checkouts_dir/1,
checkouts_dir/2,
plugins_dir/1,
@@ -48,7 +49,7 @@ deps_dir(DepsDir, App) ->
filename:join(DepsDir, App).
root_dir(State) ->
- rebar_state:get(State, root_dir, ?DEFAULT_ROOT_DIR).
+ filename:absname(rebar_state:get(State, root_dir, ?DEFAULT_ROOT_DIR)).
-spec checkouts_dir(rebar_state:t()) -> file:filename_all().
checkouts_dir(State) ->