summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-16 00:27:27 +0200
committeremkael <emkael@tlen.pl>2017-06-16 00:27:27 +0200
commit0e516877457725013df20eaae0161be263419927 (patch)
tree81b88eb307af6b354fe544dbdb36f7af9834847a /bin
parentc6f7e0b955693be3986efc86c9c0e17b3e7b0fc1 (diff)
Cleaning target for the Makefile
Fixes #7
Diffstat (limited to 'bin')
-rwxr-xr-xbin/deploy.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/deploy.sh b/bin/deploy.sh
index 39812e4..9d51b68 100755
--- a/bin/deploy.sh
+++ b/bin/deploy.sh
@@ -2,7 +2,7 @@
DEPLOYPATH=`cat config/deploy-path`
if [ -s config/deploy-pass ]
then
- sshpass -p `cat config/deploy-pass` rsync -urpP http/ $DEPLOYPATH
+ sshpass -p `cat config/deploy-pass` rsync -urpP --delete http/ $DEPLOYPATH
else
- rsync -urpP http/ $DEPLOYPATH
+ rsync -urpP --delete http/ $DEPLOYPATH
fi