summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsync-build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync-build.sh b/sync-build.sh
index 40a78c2..c2d3642 100755
--- a/sync-build.sh
+++ b/sync-build.sh
@@ -171,6 +171,7 @@ while inotifywait -qq -e close_write "$sync"; do
else
# IMPORTANT: do not sync top-level config.h or it will break OOT builds
rsync -av --delete --exclude='.*.sw?' \
+ -z \
--exclude=/config.h \
--exclude=/compile_commands.json \
--exclude=\*.tar\* \
@@ -185,6 +186,7 @@ while inotifywait -qq -e close_write "$sync"; do
mkdir -p "$rundir"
[[ $remotehost == localhost ]] || [ -n "${NOCOPY:-}" ] ||
rsync -av --delete \
+ -z \
--exclude='.*.sw?' \
--exclude='*.a' \
"$remotehost:$rundir" "$rundir"