diff options
Diffstat (limited to 'src/rebar_reltool.erl')
-rw-r--r-- | src/rebar_reltool.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_reltool.erl b/src/rebar_reltool.erl index 3b08be3..055bfb5 100644 --- a/src/rebar_reltool.erl +++ b/src/rebar_reltool.erl @@ -177,8 +177,8 @@ mk_target_dir(TargetDir) -> ok; {error, eexist} -> %% Output directory already exists; if force=1, wipe it out - case rebar_config:get_global(force, "0") of - "1" -> + case rebar_config:get_global(force, false) of + true -> rebar_file_utils:rm_rf(TargetDir), ok = file:make_dir(TargetDir); _ -> |