mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 18:11:19 +00:00
[libc++] SSH: Use -p when scp'ing to preserve modes and modification times
This commit is contained in:
parent
7c5fcb3591
commit
160b01c9ef
@ -35,7 +35,7 @@ def main():
|
||||
commandLine = remaining[1:] # Skip the '--'
|
||||
|
||||
ssh = lambda command: ['ssh', '-oBatchMode=yes', args.host, command]
|
||||
scp = lambda src, dst: ['scp', '-oBatchMode=yes', '-r', src, '{}:{}'.format(args.host, dst)]
|
||||
scp = lambda src, dst: ['scp', '-oBatchMode=yes', '-p', '-r', src, '{}:{}'.format(args.host, dst)]
|
||||
|
||||
# Create a temporary directory where the test will be run.
|
||||
tmp = subprocess.check_output(ssh('mktemp -d /tmp/libcxx.XXXXXXXXXX'), universal_newlines=True).strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user