aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/build.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua
index 5d527876..74e80d62 100644
--- a/src/luarocks/build.lua
+++ b/src/luarocks/build.lua
@@ -79,7 +79,7 @@ function apply_patches(rockspec)
79 extract_from_rockspec(build.patches) 79 extract_from_rockspec(build.patches)
80 for patch, patchdata in util.sortedpairs(build.patches) do 80 for patch, patchdata in util.sortedpairs(build.patches) do
81 print("Applying patch "..patch.."...") 81 print("Applying patch "..patch.."...")
82 local ok, err = fs.apply_patch(tostring(patch, patchdata)) 82 local ok, err = fs.apply_patch(tostring(patch), patchdata)
83 if not ok then 83 if not ok then
84 return nil, "Failed applying patch "..patch 84 return nil, "Failed applying patch "..patch
85 end 85 end