aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2013-07-04 15:12:25 -0300
committerHisham Muhammad <hisham@gobolinux.org>2013-07-04 15:12:25 -0300
commitd124cdb40076e6f5363bd7e152c6ef0479c4bf9a (patch)
treeac30292710b33e8059860fbe72512a0cc1d33701
parent843e14b3b27312aaa27158580c9ed5ae52bbd0f2 (diff)
downloadluarocks-d124cdb40076e6f5363bd7e152c6ef0479c4bf9a.tar.gz
luarocks-d124cdb40076e6f5363bd7e152c6ef0479c4bf9a.tar.bz2
luarocks-d124cdb40076e6f5363bd7e152c6ef0479c4bf9a.zip
Fix error affecting `luarocks make`, as reported by Ignacio Burgueño
-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