From d124cdb40076e6f5363bd7e152c6ef0479c4bf9a Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 4 Jul 2013 15:12:25 -0300 Subject: Fix error affecting `luarocks make`, as reported by Ignacio BurgueƱo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/luarocks/fs/win32/tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- plus an error message. function copy_contents(src, dest) assert(src and dest) - if fs.execute_string(fs.quiet(vars.CP.." -a "..src.."\\*.* "..fs.Q(dest))) then + if fs.execute_string(fs.quiet(vars.CP.." -dR "..src.."\\*.* "..fs.Q(dest))) then return true else return false, "Failed copying "..src.." to "..dest -- cgit v1.2.3-55-g6feb