summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hooks/post-receive9
1 files changed, 2 insertions, 7 deletions
diff --git a/hooks/post-receive b/hooks/post-receive
index 15039d4..6afd48b 100644
--- a/hooks/post-receive
+++ b/hooks/post-receive
@@ -4,13 +4,8 @@ dest=${WEB}/oper.io.services/crux-ports-arm64
# Copy files from working cache to destination
cp -r ./* ${dest}/
-for i in ${FILES_E[*]}; do
- printf '[git] Updating %s\n' "${i}"
-done
-
-for i in ${FILES_D[*]}; do
- printf '[git] Removing %s\n' "${i}"
-done
+printf '[git] Updating %s\n' ${FILES_E[@]}
+printf '[git] Removing %s\n' ${FILES_D[@]}
# Regen repo httpup files
httpup-repgen "${dest}"

Generated by cgit