diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-09-11 12:40:26 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-09-11 12:40:26 -0500 |
commit | 71d9500997930a43f30bce863e05f3dbaa4fd3f4 (patch) | |
tree | 82b8fcc70ab44a793f1ad24794eb5d1358ddea94 /src/rebar_prv_update.erl | |
parent | 6967c1d6b20d12643cba71f848c331c8ccf4f196 (diff) |
tmp
Diffstat (limited to 'src/rebar_prv_update.erl')
-rw-r--r-- | src/rebar_prv_update.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl index d413af2..527c582 100644 --- a/src/rebar_prv_update.erl +++ b/src/rebar_prv_update.erl @@ -48,6 +48,7 @@ do(State) -> [] -> ?INFO("Updating package index...~n", []), Url = url(State), + %{ok, [Home]} = init:get_argument(home), ec_file:mkdir_p(filename:join([os:getenv("HOME"), ".rebar"])), PackagesFile = filename:join([os:getenv("HOME"), ".rebar", "packages"]), {ok, RequestId} = httpc:request(get, {Url, []}, [], [{stream, PackagesFile}, {sync, false}]), |