Skip to content

Commit c469e7e

Browse files
committed
cleanup
1 parent a630525 commit c469e7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.evergreen/setup-spawn-host.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ if [ -z "$1" ]
88
fi
99

1010
target=$1
11-
remote_dir=/home/ec2-user/mongo-python-driver
11+
user=${target%@*}
12+
remote_dir=/home/$user/mongo-python-driver
1213

1314
echo "Copying files to $target..."
1415
rsync -az -e ssh --exclude '.git' --filter=':- .gitignore' -r . $target:$remote_dir

0 commit comments

Comments
 (0)