aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/cfg.lua1
-rw-r--r--src/luarocks/fs/unix/tools.lua6
2 files changed, 0 insertions, 7 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 1300b2fa..36c2c2a4 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -265,7 +265,6 @@ local defaults = {
265 FIND = "find", 265 FIND = "find",
266 TEST = "test", 266 TEST = "test",
267 CHMOD = "chmod", 267 CHMOD = "chmod",
268 PATCH = "patch",
269 268
270 ZIP = "zip", 269 ZIP = "zip",
271 UNZIP = "unzip -n", 270 UNZIP = "unzip -n",
diff --git a/src/luarocks/fs/unix/tools.lua b/src/luarocks/fs/unix/tools.lua
index 43174749..0823e74f 100644
--- a/src/luarocks/fs/unix/tools.lua
+++ b/src/luarocks/fs/unix/tools.lua
@@ -283,12 +283,6 @@ function tools.chmod(pathname, mode)
283 end 283 end
284end 284end
285 285
286--- Apply a patch.
287-- @param patchname string: The filename of the patch.
288function tools.apply_patch(patchname)
289 return fs.execute(vars.PATCH.." -p1 -f -i ", patchname)
290end
291
292--- Unpack an archive. 286--- Unpack an archive.
293-- Extract the contents of an archive, detecting its format by 287-- Extract the contents of an archive, detecting its format by
294-- filename extension. 288-- filename extension.