mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-01 22:50:54 +00:00
kata-deploy: fix binary location for agent-ctl
Moving agent-ctl into the root workspace moves the target directory, so update this target to be in root, not src/tools Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
@@ -1288,7 +1288,6 @@ install_tools_helper() {
|
||||
[[ "${tool}" = "trace-forwarder" ]] && tool_binary="kata-trace-forwarder"
|
||||
|
||||
local tool_build_dir="target"
|
||||
[[ "${tool}" = "agent-ctl" ]] && tool_build_dir="src/tools/${tool}"
|
||||
binary=$(find "${repo_root_dir}/${tool_build_dir}" -type f -name "${tool_binary}")
|
||||
|
||||
binary_count=$(echo "${binary}" | grep -c '^' || echo "0")
|
||||
|
||||
Reference in New Issue
Block a user