From 47c0d2f4b1ec9e3e91f15d6317c495d5732a335c Mon Sep 17 00:00:00 2001
From: Andreas Neue <an@dnix.de>
Date: Tue, 22 Aug 2023 13:37:36 +0200
Subject: [PATCH] include additional rsync options in .rsync and
 .rsync_HOSTNAME, mostly meant for additional filters in addition to the
 defaults

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index eb46931..c9ba6fc 100644
--- a/Makefile
+++ b/Makefile
@@ -103,7 +103,7 @@ ifdef DEPLOY_HOSTS
 		param="-ravv"; \
 		param="$$param $$rsync_xtra"; \
 		param="$$param $$rsync_xtra_host"; \
-		param="$$param . --exclude '*~' --exclude '.git*' --exclude '*.swp' $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME)"; \
+		param="$$param --exclude '*~' --exclude '.git*' --exclude '*.swp' . $(SSH_USER)@$(host):$(DEPLOY_PATH)/$(DEPLOY_NAME)"; \
 		eval rsync $$param; \
 		ssh $(SSH_USER)@$(host) "cd $(DEPLOY_PATH)/$(DEPLOY_NAME) && chmod o-r .env secrets*"; \
 	)