summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hooks/post-receive4
1 files changed, 2 insertions, 2 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index fbdbf8d..7a95961 100644
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -4,8 +4,8 @@ dest=${WEB}/oper.io.services/crux-ports-arm64
# Copy files from working cache to destination
rsync -av --inplace --exclude hooks --exclude '.git*' ./ ${dest}/ || true
-printf '[git] Updating %s\n' ${FILES_M[@]}
-printf '[git] Removing %s\n' ${FILES_D[@]}
+printf '[git] Updating %s\n' ${FILES_M[@]:-nothing}
+printf '[git] Removing %s\n' ${FILES_D[@]:-nothing}
# Regen repo httpup files
httpup-repgen "${dest}"

Generated by cgit