We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 831b198 commit c4f18d6Copy full SHA for c4f18d6
llvm/utils/remote-exec.py
@@ -130,11 +130,12 @@ def main():
130
]
131
)
132
else:
133
- # Copy only the files, which are specified in the command line.
134
- # Copy them to remote host one by one.
+ # Copy only files which are specified in the command line and exist on
+ # the host. Copy them to the remote host one by one.
135
for x in commandLine:
136
- _, f = os.path.split(x)
137
- subprocess.check_call(scp(args, x, pathOnRemote(f)))
+ if os.path.exists(x):
+ _, f = os.path.split(x)
138
+ subprocess.check_call(scp(args, x, pathOnRemote(f)))
139
140
# Make sure all executables in the remote command line have 'execute'
141
# permissions on the remote host. The host that compiled the test-executable
0 commit comments