Commit 5a140b2
j-griffith
Fix cp arg expansion bug
The cloning implementation for hostpath volumes used `args :=
[]string{"-a", srcPath + "/*", destPath + "/"}`
The result is some shells will actually try to find/copy a file `*` from
the source directory. We need to use the cp specific syntax for this
instead `.`, to guarantee that things work on different platforms and
shells.1 parent 4b2c735 commit 5a140b2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | | - | |
| 296 | + | |
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| |||
0 commit comments