diff options
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}]), |