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 <noreply@anthropic.com>
This commit is contained in:
2026-02-07 10:13:22 -05:00
parent 296e460326
commit 940cef138e
2 changed files with 4 additions and 2 deletions

View File

@@ -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"

View File

@@ -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