From eb19bd96dd01afd2ed223c714fc29ed5bc890788 Mon Sep 17 00:00:00 2001 From: Roduan Kareem Aldeen <37983260+RoduanKD@users.noreply.github.com> Date: Fri, 6 Feb 2026 09:52:43 +0300 Subject: [PATCH] Fix "tac command not found" on macOS by using POSIX awk --- scripts/project-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/project-install.sh b/scripts/project-install.sh index 8688d4ad..9689836c 100755 --- a/scripts/project-install.sh +++ b/scripts/project-install.sh @@ -435,7 +435,7 @@ main() { local chain_depth=0 local chain_display="" # Read chain in reverse order (from requested profile back to base) for display - local reversed_chain=$(echo "$INHERITANCE_CHAIN" | tac) + local reversed_chain=$(echo "$INHERITANCE_CHAIN" | awk '{a[NR]=$0} END{for(i=NR;i>=1;i--)print a[i]}') while IFS= read -r profile_name; do [[ -z "$profile_name" ]] && continue if [[ "$chain_depth" -eq 0 ]]; then