[libc++] SSH: Fix tarring of dependencies on Windows
authorLouis Dionne <ldionne@apple.com>
Mon, 6 Apr 2020 13:33:08 +0000 (09:33 -0400)
committerLouis Dionne <ldionne@apple.com>
Mon, 6 Apr 2020 13:58:08 +0000 (09:58 -0400)
commitb00a874b7c737119c82cc3826fd3a74a9e5405e3
treefc2d758cdcee80c562e7f7c7ddc0117f5b21ba85
parent4dded1a7cb7cdc4a21a0b092ad3380e7ccae27b2
[libc++] SSH: Fix tarring of dependencies on Windows

On Windows, we must make sure to close the temporary tar file before we
try to scp it.

This is an alternative approach to https://reviews.llvm.org/D77500.
libcxx/utils/ssh.py