From 1077c9387f60f0ef371514cc289075a2720370cc Mon Sep 17 00:00:00 2001
From: davidovski <david@davidovski.xyz>
Date: Wed, 24 Nov 2021 22:18:42 +0000
Subject: added accepting multiple sources to sync to

---
 build-repo.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build-repo.sh b/build-repo.sh
index f4cd0d5..71ef23c 100755
--- a/build-repo.sh
+++ b/build-repo.sh
@@ -150,7 +150,9 @@ clean () {
 }
 
 sync () {
-    [[ $# = 0 ]] || rsync -vLta --no-perms --no-owner --no-group --delete -z -e ssh ./dist/ $1
+    for i in $@; do
+        [[ $# = 0 ]] || rsync -vLta --no-perms --no-owner --no-group --delete -z -e ssh ./dist/ $i
+    done;
 }
 
 index () {
-- 
cgit v1.2.1