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:
@@ -42,6 +42,8 @@ echo working dir: $PWD
|
|||||||
|
|
||||||
# exit 0
|
# 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 "$ref" > .diachron-version
|
||||||
|
|
||||||
|
echo "Now, run the command ./sync.sh"
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ for f in "${old_files[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Copy in new framework files
|
# 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
|
# Stage them
|
||||||
for f in "${new_files[@]}"; do
|
for f in "${new_files[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user