Do not allow local remote sync while remote local is in progress
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
REMOTE_PROGRESS=".remote-in-progress"
|
||||
|
||||
if [ -f $REMOTE_PROGRESS ]; then
|
||||
echo "Waiting for remote-local.sh to finish..."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
sshpass -p "${SERVER_PASSWORD}" \
|
||||
rsync -avzu --delete \
|
||||
`# Version control and editor files` \
|
||||
|
||||
Reference in New Issue
Block a user