aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/fs/win32/tools.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua
index 033f71be..1af1dd91 100644
--- a/src/luarocks/fs/win32/tools.lua
+++ b/src/luarocks/fs/win32/tools.lua
@@ -146,7 +146,7 @@ end
146-- plus an error message. 146-- plus an error message.
147function copy_contents(src, dest) 147function copy_contents(src, dest)
148 assert(src and dest) 148 assert(src and dest)
149 if fs.execute_string(fs.quiet(vars.CP.." -a "..src.."\\*.* "..fs.Q(dest))) then 149 if fs.execute_string(fs.quiet(vars.CP.." -dR "..src.."\\*.* "..fs.Q(dest))) then
150 return true 150 return true
151 else 151 else
152 return false, "Failed copying "..src.." to "..dest 152 return false, "Failed copying "..src.." to "..dest