From 0d4dfb60c775234690ce70805fd1a1c47bc1ff26 Mon Sep 17 00:00:00 2001 From: vasilito Date: Sat, 20 Jun 2026 20:11:40 +0300 Subject: [PATCH] tlc: fix recipe install command with proper parentheses for conditional chmod --- local/recipes/tui/tlc/recipe.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local/recipes/tui/tlc/recipe.toml b/local/recipes/tui/tlc/recipe.toml index 46740fe313..5e06de64d4 100644 --- a/local/recipes/tui/tlc/recipe.toml +++ b/local/recipes/tui/tlc/recipe.toml @@ -48,7 +48,7 @@ mkdir -p "${COOKBOOK_STAGE}/usr/bin" for bin in tlc tlcedit tlcview tlc-pty-login; do if [ -f "${TARGET_DIR}/${bin}" ]; then install -m 0755 "${TARGET_DIR}/${bin}" "${COOKBOOK_STAGE}/usr/bin/${bin}" || \ - cp "${TARGET_DIR}/${bin}" "${COOKBOOK_STAGE}/usr/bin/${bin}" && chmod 0755 "${COOKBOOK_STAGE}/usr/bin/${bin}" + (cp "${TARGET_DIR}/${bin}" "${COOKBOOK_STAGE}/usr/bin/${bin}" && chmod 0755 "${COOKBOOK_STAGE}/usr/bin/${bin}") if [ ! -f "${COOKBOOK_STAGE}/usr/bin/${bin}" ]; then echo "cookbook: WARNING - ${bin} was not staged (sandbox may have prevented write)" fi