summaryrefslogtreecommitdiff
path: root/src/rebar_app_installer.erl
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-11-29 16:53:53 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-11-29 16:53:53 -0700
commitc828f590568e09ee258f8906781c5594b6bc36f4 (patch)
tree09584f7759589c4d8a57cbf3cd63c2aebac89500 /src/rebar_app_installer.erl
parentf4729544ddc664975ea448dd25f0df83b40a74ee (diff)
Fix some minor typos; create simple install/bootstrapping script
Diffstat (limited to 'src/rebar_app_installer.erl')
-rw-r--r--src/rebar_app_installer.erl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rebar_app_installer.erl b/src/rebar_app_installer.erl
index ae723c5..0d1e986 100644
--- a/src/rebar_app_installer.erl
+++ b/src/rebar_app_installer.erl
@@ -49,20 +49,20 @@ install(Config, File) ->
%% continue if it's set
case rebar_config:get_global(force, "0") of
"0" ->
- ?ERROR("~s already exists. Installation failed."),
+ ?ERROR("~s already exists. Installation failed.", []),
?FAIL;
"1" ->
- ?WARN("~s already exists, but forcibly overwriting."),
+ ?WARN("~s already exists, but forcibly overwriting.", [])
end;
false ->
ok
- end,
+ end.
%% Wipe out any previous versions
- ok = rebar_file_utils:rm_rf(Appdir),
+% ok = rebar_file_utils:rm_rf(Appdir),
%% Re-create target
- ok = rebar_file_utils:mkdir_p(AppDir),
+% ok = rebar_file_utils:mkdir_p(AppDir).
%% By default we copy the ebin, include, src and priv directories