summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-01 00:18:24 +0100
committeremkael <emkael@tlen.pl>2019-11-01 00:18:24 +0100
commit7c1d49570f36bd334fd0a11f87a3d200bf5480df (patch)
treef9fc7dda31dd2f008118acff5651479f39b636da
parente749bd97305fd137106195f935f96da278906efb (diff)
Syncing symlinks to remote (as copies)
-rwxr-xr-xbin/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/deploy.sh b/bin/deploy.sh
index dafc4bf..4229af4 100755
--- a/bin/deploy.sh
+++ b/bin/deploy.sh
@@ -1,7 +1,7 @@
#!/bin/bash
LOCALPATH=$1
DEPLOYPATH=`cat config/deploy-path`
-RSYNCOPTS='-urpP --delete --exclude=.menu.html'
+RSYNCOPTS='-urpP --delete --copy-links --exclude=.menu.html'
if [ -s config/deploy-pass ]
then
sshpass -f config/deploy-pass rsync $RSYNCOPTS $LOCALPATH/ $DEPLOYPATH