summaryrefslogtreecommitdiff
path: root/src/rebar_utils.erl
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-04-22 18:12:43 -0500
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-04-22 18:12:43 -0500
commit0537a0699d01e4ae61dd32db0d964224bf9a1f5e (patch)
tree7baa98fd379b9d6a7e892adbbd783f4b75117067 /src/rebar_utils.erl
parentde77225b49ca1af2e4a90f02ef248a15f1e74081 (diff)
parent12bd412c22fcfaeb752727a6c0098140704078f0 (diff)
Merge pull request #354 from tsloughter/track_code_path
Track code path
Diffstat (limited to 'src/rebar_utils.erl')
-rw-r--r--src/rebar_utils.erl8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index bc2e4ac..49f7ad7 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -42,7 +42,6 @@
erl_to_mod/1,
beams/1,
find_executable/1,
- expand_code_path/0,
vcs_vsn/2,
deprecated/3,
deprecated/4,
@@ -177,13 +176,6 @@ find_executable(Name) ->
"\"" ++ filename:nativename(Path) ++ "\""
end.
-%% Convert all the entries in the code path to absolute paths.
-expand_code_path() ->
- CodePath = lists:foldl(fun(Path, Acc) ->
- [filename:absname(Path) | Acc]
- end, [], code:get_path()),
- code:set_path(lists:reverse(CodePath)).
-
deprecated(Old, New, Opts, When) when is_list(Opts) ->
case lists:member(Old, Opts) of
true ->