summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2020-12-02 11:49:26 -0700
committerAaron Ball <nullspoon@oper.io>2020-12-02 11:49:26 -0700
commita785a400cfe159cc210f5ca46985049b37124997 (patch)
tree2d1babc6d3bfd491b6e80d8482aa114040178e9b /hooks
parent1ea1eb6e699a2d0e9eb9c90b8f3ccfe924742aa5 (diff)
downloadcrux-ports-arm64-a785a400cfe159cc210f5ca46985049b37124997.tar.gz
crux-ports-arm64-a785a400cfe159cc210f5ca46985049b37124997.tar.xz
Prevent post-receive from failing on rsync
Diffstat (limited to 'hooks')
-rw-r--r--hooks/post-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index 674ec8b..a3534c4 100644
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -2,7 +2,7 @@
dest=${WEB}/oper.io.services/crux-ports-arm64
# Copy files from working cache to destination
-rsync -av --inplace --exclude hooks --exclude '.git*' ./ ${dest}/
+rsync -av --inplace --exclude hooks --exclude '.git*' ./ ${dest}/ || true
printf '[git] Updating %s\n' ${FILES_E[@]}
printf '[git] Removing %s\n' ${FILES_D[@]}

Generated by cgit