summaryrefslogtreecommitdiff
path: root/src/rebar_dir.erl
diff options
context:
space:
mode:
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) ->