aboutsummaryrefslogtreecommitdiffstats
path: root/src/rcl_state.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2012-09-19 18:50:56 -0700
committerEric <[email protected]>2012-09-19 18:50:56 -0700
commit13b65ac87e281e846820bbef8df1a94b81fcb5ef (patch)
tree2ac4836c41daf501bf2c156d49e61a67aaba3e29 /src/rcl_state.erl
parent6ee94839094b00163e5f0a29a41dedb9ae67ca85 (diff)
downloadrelx-13b65ac87e281e846820bbef8df1a94b81fcb5ef.tar.gz
relx-13b65ac87e281e846820bbef8df1a94b81fcb5ef.tar.bz2
relx-13b65ac87e281e846820bbef8df1a94b81fcb5ef.zip
discover should not discover files in the output dir
Diffstat (limited to 'src/rcl_state.erl')
-rw-r--r--src/rcl_state.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcl_state.erl b/src/rcl_state.erl
index 2d27de2..23c7e74 100644
--- a/src/rcl_state.erl
+++ b/src/rcl_state.erl
@@ -89,7 +89,7 @@
new(PropList, Targets) when erlang:is_list(PropList) ->
State0 =
#state_t{log = proplists:get_value(log, PropList, rcl_log:new(error)),
- output_dir=proplists:get_value(output_dir, PropList, ""),
+ output_dir=filename:absname(proplists:get_value(output_dir, PropList, "")),
lib_dirs=get_lib_dirs(proplists:get_value(lib_dirs, PropList, [])),
config_files=Targets,
goals=proplists:get_value(goals, PropList, []),