diff options
| -rw-r--r-- | spork/sh.janet | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spork/sh.janet b/spork/sh.janet index c7dfb4c..80edb51 100644 --- a/spork/sh.janet +++ b/spork/sh.janet @@ -162,9 +162,10 @@ # xcopy copies important extra file attributes that a normal copy seems not to. (os/execute ["C:\\Windows\\System32\\xcopy.exe" - "/y" "/s" "/e" "/i" "/k" "/f" (path/win32/join ;(path/parts src)) - (path/win32/join ;(if (or dest-isdir isdir) [;(path/parts dest) end] (path/parts dest)))] :px)) + (path/win32/join ;(if (or dest-isdir isdir) [;(path/parts dest) end] (path/parts dest))) + "/y" "/s" "/e" "/f" "/i" "/k"] + :px)) (os/execute ["cp" "-rf" src dest] :px))) (def- shlex-grammar :flycheck |
