From 1bab385c2ce4f37f808774540c6fe3b46afdda68 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Sat, 20 Apr 2013 12:08:10 +0200 Subject: Accidental workaround was left behind --- src/luarocks/fs/win32/tools.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua index c563b137..033f71be 100644 --- a/src/luarocks/fs/win32/tools.lua +++ b/src/luarocks/fs/win32/tools.lua @@ -146,8 +146,7 @@ end -- plus an error message. function copy_contents(src, dest) assert(src and dest) - if fs.execute_string(fs.quiet("xcopy "..src.."\\*.* "..fs.Q(dest).." /S/E/Y")) then - --if fs.execute_string(fs.quiet(vars.CP.." -a "..src.."\\*.* "..fs.Q(dest))) then + if fs.execute_string(fs.quiet(vars.CP.." -a "..src.."\\*.* "..fs.Q(dest))) then return true else return false, "Failed copying "..src.." to "..dest -- cgit v1.2.3-55-g6feb