mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-05-04 04:00:07 +00:00
kata-deploy: fix binary location for trace-forwarder
Moving the trace-forwarder into the root workspace moves the target directory, so update this target. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
@@ -1285,6 +1285,7 @@ install_tools_helper() {
|
||||
|
||||
local tool_build_dir="src/tools/${tool}"
|
||||
[[ "${tool}" = "genpolicy" ]] && tool_build_dir=target
|
||||
[[ "${tool}" = "trace-forwarder" ]] && tool_build_dir=target
|
||||
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