diff options
| -rw-r--r-- | src/luarocks/build/builtin.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/build/builtin.lua b/src/luarocks/build/builtin.lua index 485ff370..f65774fd 100644 --- a/src/luarocks/build/builtin.lua +++ b/src/luarocks/build/builtin.lua | |||
| @@ -240,8 +240,8 @@ function run(rockspec) | |||
| 240 | end | 240 | end |
| 241 | if ok then | 241 | if ok then |
| 242 | if fs.is_dir("lua") then | 242 | if fs.is_dir("lua") then |
| 243 | ok = fs.copy_contents("lua", luadir) | 243 | ok, err = fs.copy_contents("lua", luadir) |
| 244 | if not ok then err = "Failed copying contents of 'lua' directory." end | 244 | if not ok then err = "Failed copying contents of 'lua' directory: "..err end |
| 245 | end | 245 | end |
| 246 | end | 246 | end |
| 247 | if ok then | 247 | if ok then |
