1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 06:50:26 +00:00

Fix jpm mendoza install on windows.

This commit is contained in:
Calvin Rose 2019-11-12 02:45:20 -05:00
parent c9521e093e
commit 86d21816b6

View File

@ -223,7 +223,8 @@
[src dest]
(print "copying " src " to " dest "...")
(if is-win
(shell "xcopy" src dest "/y" "/s" "/e")
(let [end (last (peg/match path-splitter src))]
(shell "xcopy" src (string dest "\\" end) "/y" "/s" "/e"))
(shell "cp" "-rf" src dest)))
#