We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98b180a + ac0192f commit 4580448Copy full SHA for 4580448
src/rtdev.erl
@@ -31,7 +31,8 @@ get_deps() ->
31
lists:flatten(io_lib:format("~s/dev/dev1/lib", [relpath(current)])).
32
33
riakcmd(Path, N, Cmd) ->
34
- io_lib:format("~s/dev/dev~b/bin/riak ~s", [Path, N, Cmd]).
+ ExecName = rt_config:get(exec_name, "riak"),
35
+ io_lib:format("~s/dev/dev~b/bin/~s ~s", [Path, N, ExecName, Cmd]).
36
37
riakreplcmd(Path, N, Cmd) ->
38
io_lib:format("~s/dev/dev~b/bin/riak-repl ~s", [Path, N, Cmd]).
@@ -48,7 +49,8 @@ riak_admin_cmd(Path, N, Args) ->
48
49
erlang:error(badarg)
50
end, Args),
51
ArgStr = string:join(Quoted, " "),
- io_lib:format("~s/dev/dev~b/bin/riak-admin ~s", [Path, N, ArgStr]).
52
53
+ io_lib:format("~s/dev/dev~b/bin/~s-admin ~s", [Path, N, ExecName, ArgStr]).
54
55
run_git(Path, Cmd) ->
56
lager:info("Running: ~s", [gitcmd(Path, Cmd)]),
0 commit comments