From 940cef138e10fea05934801dc234dc5260cf8701 Mon Sep 17 00:00:00 2001 From: Michael Wolf Date: Sat, 7 Feb 2026 10:13:22 -0500 Subject: [PATCH] Suppress duplicate tar output in bootstrap and upgrade scripts Verbose on the sending tar, quiet on the receiving tar, so the file list prints once. Co-Authored-By: Claude Opus 4.6 --- bootstrap.sh | 4 +++- upgrade.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index ad58f80..f3aaba6 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -42,6 +42,8 @@ echo working dir: $PWD # exit 0 -tar cvf - $(cat "$PWD/file-list" | grep -v '^#') | (cd "$here" && tar xvf -) +tar cvf - $(cat "$PWD/file-list" | grep -v '^#') | (cd "$here" && tar xf -) echo "$ref" > .diachron-version + +echo "Now, run the command ./sync.sh" diff --git a/upgrade.sh b/upgrade.sh index 7393615..eb483cc 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -88,7 +88,7 @@ for f in "${old_files[@]}"; do done # Copy in new framework files -(cd "$tmpdir/diachron" && tar cf - "${new_files[@]}") | (cd "$DIR" && tar xf -) +(cd "$tmpdir/diachron" && tar cvf - "${new_files[@]}") | (cd "$DIR" && tar xf -) # Stage them for f in "${new_files[@]}"; do