summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-repo.sh4
1 files changed, 3 insertions, 1 deletions
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 () {