From be86e12b8dabffea32dc67da2c665d7aa24eb416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=C3=A1n=20Healy?= Date: Mon, 20 Apr 2026 16:43:55 +0100 Subject: [PATCH] Add logging. --- automation/apply.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/automation/apply.sh b/automation/apply.sh index eaeadb1..cddf1a8 100755 --- a/automation/apply.sh +++ b/automation/apply.sh @@ -7,6 +7,8 @@ if [ ! -d "$dst_dir" ]; then fi mkdir -p "$dst_dir" ./git-portfolio "$dst" -git clone --depth 1 --branch main git@git.seanhealy.ie:sean/web-footer.git "/tmp/web-footer" +tmp_web_footer_dir="/tmp/web-footer-$(date +%N)" +git clone --depth 1 --branch main git@git.seanhealy.ie:sean/web-footer.git "$tmp_web_footer_dir" (cd "/tmp/web-footer" && ./automation/personalise.sh) -rm -rf /tmp/web-footer +echo Cleaning up... >&2 +rm -rf "$tmp_web_footer_dir"