diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-09 14:14:47 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-09 14:14:47 -0300 |
| commit | 9a9caf8fd6edfb82284b7ec6edb2f460400b614c (patch) | |
| tree | a96c5779f6c5e45e65e7be064208f66b9ed9760a | |
| parent | c9cc47865ee713ff812eb2393c6723b8d28d59b7 (diff) | |
| download | luarocks-9a9caf8fd6edfb82284b7ec6edb2f460400b614c.tar.gz luarocks-9a9caf8fd6edfb82284b7ec6edb2f460400b614c.tar.bz2 luarocks-9a9caf8fd6edfb82284b7ec6edb2f460400b614c.zip | |
We're always using the internal patch module.
See #316.
| -rw-r--r-- | src/luarocks/cfg.lua | 1 | ||||
| -rw-r--r-- | src/luarocks/fs/unix/tools.lua | 6 |
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 |
| 284 | end | 284 | end |
| 285 | 285 | ||
| 286 | --- Apply a patch. | ||
| 287 | -- @param patchname string: The filename of the patch. | ||
| 288 | function tools.apply_patch(patchname) | ||
| 289 | return fs.execute(vars.PATCH.." -p1 -f -i ", patchname) | ||
| 290 | end | ||
| 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. |
