fix(nodetool): add_pathz -> add_patha
This commit is contained in:
parent
e010aa44b7
commit
6edfb9a6c5
|
@ -317,7 +317,7 @@ add_libs_dir() ->
|
||||||
|
|
||||||
add_lib_dir(RootDir, Name, Vsn) ->
|
add_lib_dir(RootDir, Name, Vsn) ->
|
||||||
LibDir = filename:join([RootDir, lib, atom_to_list(Name) ++ "-" ++ Vsn, ebin]),
|
LibDir = filename:join([RootDir, lib, atom_to_list(Name) ++ "-" ++ Vsn, ebin]),
|
||||||
case code:add_pathz(LibDir) of
|
case code:add_patha(LibDir) of
|
||||||
true -> ok;
|
true -> ok;
|
||||||
{error, _} -> error(LibDir)
|
{error, _} -> error(LibDir)
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue