Skip to content

Commit 163514b

Browse files
authored
PYTHON-5016 Fix initial sync in spawn host script (mongodb#2038)
1 parent 1b3f04c commit 163514b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.evergreen/sync-spawn-host.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ fi
88
target=$1
99

1010
echo "Syncing files to $target..."
11+
rsync -haz -e ssh --exclude '.git' --filter=':- .gitignore' -r . $target:/home/ec2-user/mongo-python-driver
1112
# shellcheck disable=SC2034
1213
fswatch -o . | while read f; do rsync -hazv -e ssh --exclude '.git' --filter=':- .gitignore' -r . $target:/home/ec2-user/mongo-python-driver; done
1314
echo "Syncing files to $target... done."

0 commit comments

Comments
 (0)