From f992abf84bb611a678bb83fa1cd2e53f84f19893 Mon Sep 17 00:00:00 2001 From: Ryan Hamilton Date: Mon, 4 Aug 2025 22:16:35 -0500 Subject: [PATCH] fix: enhance debugging output and temporarily disable strict mode in setup.sh --- setup.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 1ed7dd3..6c7184d 100644 --- a/setup.sh +++ b/setup.sh @@ -2,7 +2,9 @@ # setup.sh - Main dotfiles setup orchestrator # Runs all numbered scripts in sequence -set -euo pipefail +# Temporarily disable strict mode for debugging +# set -euo pipefail +set -e # Get the absolute path to the directory containing this script # This handles symlinks and relative paths to always find the dotfiles root @@ -39,7 +41,12 @@ if [ -d "$DOTFILES_DIR/scripts" ]; then script_name=$(basename "$script") log_info "Running $script_name..." - if bash "$script" "$DOTFILES_DIR"; then + echo "DEBUG: About to run: bash '$script' '$DOTFILES_DIR'" + bash "$script" "$DOTFILES_DIR" + exit_code=$? + echo "DEBUG: Script exited with code: $exit_code" + + if [ $exit_code -eq 0 ]; then log_success "✓ $script_name completed" echo "DEBUG: Script '$script_name' completed successfully" else