summaryrefslogtreecommitdiff
path: root/bin/deploy.sh
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-06-20 20:20:01 +0200
committeremkael <emkael@tlen.pl>2017-06-20 20:20:01 +0200
commitb3a1dbdf8e6a93b346932ed673908ba481e21c7a (patch)
tree209fc852edf1cc51bd74c66960520bac674eba55 /bin/deploy.sh
parent71d91348d5d33669572e02c7a6d2b2ef4c955aaa (diff)
Removing Useless Use of Cat
Diffstat (limited to 'bin/deploy.sh')
-rwxr-xr-xbin/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/deploy.sh b/bin/deploy.sh
index 9d51b68..ec0d4ec 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 --delete http/ $DEPLOYPATH
+ sshpass -f config/deploy-pass rsync -urpP --delete http/ $DEPLOYPATH
else
rsync -urpP --delete http/ $DEPLOYPATH
fi