From 1f3c3084cb3f40c27efae496014232efc3c42e94 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sun, 16 Aug 2026 22:20:51 +0200 Subject: [PATCH] fix: use dirname directly instead of executing its output The command substitution caused the directory path to be executed as a command rather than written to GITHUB_PATH, resulting in "Is a directory" errors at runtime. Co-authored-by: Copilot --- install-yq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-yq.sh b/install-yq.sh index 8d6f419..d297c84 100755 --- a/install-yq.sh +++ b/install-yq.sh @@ -78,5 +78,5 @@ echo "INFO: Installed ${yq_installed_version} in ${bin_path}" # Ensure yq is in PATH for subsequent steps if [[ -n "${GITHUB_PATH:-}" ]]; then - "$(dirname "${bin_path}")" >> "${GITHUB_PATH}" + dirname "${bin_path}" >> "${GITHUB_PATH}" fi \ No newline at end of file