summaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-17 20:55:45 +0200
committerErich Eckner <git@eckner.net>2019-09-17 21:00:47 +0200
commitfcd4409a012aff1f0f00aad38859cc84badb58bf (patch)
tree9566c70951ff122fdf00135c4f5b113d823efb46 /sync.sh
parent372951fca614deb52740f4eec8a85e88aa114402 (diff)
downloadcrux-ports-fcd4409a012aff1f0f00aad38859cc84badb58bf.tar.xz
sync.sh: knock before rsyncing
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync.sh b/sync.sh
index bf68fed..5893505 100755
--- a/sync.sh
+++ b/sync.sh
@@ -116,6 +116,7 @@ done | \
/usr/src/ports/.work/REPO
git -C /usr/src/ports commit -m 'new ports uploaded' -- '*/REPO'
+knock-knock
git -C /usr/src/ports push
portspage --title="Erich Eckner's CRUX Ports" --header="/usr/src/ports/head" /usr/src/ports/.work | \
@@ -139,6 +140,7 @@ portspage --title="Erich Eckner's CRUX Ports" --header="/usr/src/ports/head" /us
/usr/src/ports/.work/index.html
export RSYNC_RSH=ssh
+knock-knock
rsync -aLvzc --delete --delete-excluded \
--exclude "*tar.gz" \
--exclude "*tar.bz2" \