Commit 1963450
committed
lib/host: Avoid using identical source and destination paths in execute_script scp
Using the same path for both source and destination may cause scp to fail,
especially when the source path (e.g. a temp path on macOS) does not exist
on the remote system. Thus, resorting to use mktemp on destination.
Signed-off-by: Rushikesh Jadhav <[email protected]>1 parent 2f30ecc commit 1963450
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
235 | 237 | | |
236 | 238 | | |
237 | 239 | | |
238 | | - | |
| 240 | + | |
239 | 241 | | |
240 | | - | |
| 242 | + | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
| |||
0 commit comments