cdba: Invoke cdba-server from $PATH

Rather than hard coding the server side path to
sandbox/cdba/cdba-server, just invoke cdba-server and rely on the server
side to have the tool in $PATH.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Bjorn Andersson
2020-06-29 00:06:01 -07:00
parent 7589adbc45
commit afc61c7f6a

2
cdba.c
View File

@@ -608,7 +608,7 @@ int main(int argc, char **argv)
request_select_board(board);
}
ret = fork_ssh(host, "sandbox/cdba/cdba-server", ssh_fds);
ret = fork_ssh(host, "cdba-server", ssh_fds);
if (ret)
err(1, "failed to connect to \"%s\"", host);