[libc++] NFC: Do not print the environment on remote hosts
authorLouis Dionne <ldionne@apple.com>
Wed, 6 May 2020 14:35:02 +0000 (10:35 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 6 May 2020 15:33:13 +0000 (11:33 -0400)
commitd98b9a41578f93685b1df16aa37ded893e74cf18
tree7c4c16d3f37d5f7881effc79a9444c89163854b3
parent6533c1da7fab454b380ce9c2f29842ec2270583a
[libc++] NFC: Do not print the environment on remote hosts

Running `export` when there is no environment variable to export will
cause the environment on the remote host to be printed. We don't want
that, so don't run any `export` command on the host when there's no env.
libcxx/utils/ssh.py