diff options
author | Peter Wu <peter@lekensteyn.nl> | 2015-07-10 17:07:14 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2015-07-10 17:07:14 +0200 |
commit | 348aad2973d5fcfd7446e0ea5a1d29a1c5f0eaaa (patch) | |
tree | 83761fd326ec478a26f04104f6a7537043fb6fa9 /sync-build.sh | |
parent | 905854ee47cb0931bbfdd372409bb7e7d45679de (diff) | |
download | wireshark-notes-348aad2973d5fcfd7446e0ea5a1d29a1c5f0eaaa.tar.gz |
sync-build.sh: enable compression for rsync
Advantages: lower transmission size, faster completion for slow WAN
links. Disadvantage: slight delays in compile output reporting.
Diffstat (limited to 'sync-build.sh')
-rwxr-xr-x | sync-build.sh | 2 |
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" |