summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKlas Johansson <klas.johansson@gmail.com>2010-06-19 18:53:54 +0200
committerKlas Johansson <klas.johansson@gmail.com>2010-06-19 18:53:54 +0200
commit07b20d16f8ea447568c2733f29d62f174a89f3a0 (patch)
tree0b75159a8167d2b23cafbdf887055eedf8090aa6 /src
parentaea3184139c6ba06a115a758d5623d22e83c1408 (diff)
Remove warnings reported by xref
Replace rebar_util:get_cwd/0 by rebar_utils:get_cwd/0. Luckily the misspelt module name doesn't seem to have caused any harm, since rebar_app_utils:is_app_dir/0 and rebar_rel_utils:is_rel_dir/0 aren't called (only their /1 counterparts).
Diffstat (limited to 'src')
-rw-r--r--src/rebar_app_utils.erl2
-rw-r--r--src/rebar_rel_utils.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_app_utils.erl b/src/rebar_app_utils.erl
index 47b629e..4d56ab2 100644
--- a/src/rebar_app_utils.erl
+++ b/src/rebar_app_utils.erl
@@ -42,7 +42,7 @@
%% ===================================================================
is_app_dir() ->
- is_app_dir(rebar_util:get_cwd()).
+ is_app_dir(rebar_utils:get_cwd()).
is_app_dir(Dir) ->
AppSrc = filename:join(Dir, "src/*.app.src"),
diff --git a/src/rebar_rel_utils.erl b/src/rebar_rel_utils.erl
index cf3e92e..b955a53 100644
--- a/src/rebar_rel_utils.erl
+++ b/src/rebar_rel_utils.erl
@@ -29,7 +29,7 @@
-export([is_rel_dir/0, is_rel_dir/1]).
is_rel_dir() ->
- is_rel_dir(rebar_util:get_cwd()).
+ is_rel_dir(rebar_utils:get_cwd()).
is_rel_dir(Dir) ->
Fname = filename:join([Dir, "reltool.config"]),