aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric <[email protected]>2012-12-06 18:12:22 -0500
committerJordan Wilberding <[email protected]>2012-12-07 05:49:51 -0700
commitd88598d9748c89a7f3d041e078bc8e2b544b5da9 (patch)
tree2977189d99f9585b24d3619834d4b8040c82921d
parent03b892e27b64d16e374a407d7e9ef82c30115ab8 (diff)
downloadrelx-d88598d9748c89a7f3d041e078bc8e2b544b5da9.tar.gz
relx-d88598d9748c89a7f3d041e078bc8e2b544b5da9.tar.bz2
relx-d88598d9748c89a7f3d041e078bc8e2b544b5da9.zip
make the default output _rel instead of relcool_output
Signed-off-by: Jordan Wilberding <[email protected]>
-rw-r--r--.gitignore2
-rw-r--r--src/rcl_cmd_args.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 4e58778..bf72009 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,5 +8,5 @@ relcool
src/rcl_goal.erl
logs
test/*_data
-relcool_output/*
+_rel/*
.* \ No newline at end of file
diff --git a/src/rcl_cmd_args.erl b/src/rcl_cmd_args.erl
index ab073a2..68bd9ce 100644
--- a/src/rcl_cmd_args.erl
+++ b/src/rcl_cmd_args.erl
@@ -147,7 +147,7 @@ convert_goals([RawSpec | Rest], Acc) ->
-spec create_output_dir([getopt:option()], rcl_state:cmd_args()) ->
{ok, rcl_state:cmd_args()} | relcool:error().
create_output_dir(Opts, Acc) ->
- OutputDir = proplists:get_value(output_dir, Opts, "./relcool_output"),
+ OutputDir = proplists:get_value(output_dir, Opts, "./_rel"),
case filelib:is_dir(OutputDir) of
false ->
case rcl_util:mkdir_p(OutputDir) of