diff options
| -rw-r--r-- | src/luarocks/build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua index f104c400..c2dd4439 100644 --- a/src/luarocks/build.lua +++ b/src/luarocks/build.lua | |||
| @@ -47,7 +47,7 @@ do | |||
| 47 | return true | 47 | return true |
| 48 | end | 48 | end |
| 49 | 49 | ||
| 50 | local fd = io.open(".luarocks.patches.applied", "r") | 50 | local fd = io.open(fs.absolute_name(".luarocks.patches.applied"), "r") |
| 51 | if fd then | 51 | if fd then |
| 52 | fd:close() | 52 | fd:close() |
| 53 | return true | 53 | return true |
| @@ -68,7 +68,7 @@ do | |||
| 68 | end | 68 | end |
| 69 | end | 69 | end |
| 70 | 70 | ||
| 71 | fd = io.open(".luarocks.patches.applied", "w") | 71 | fd = io.open(fs.absolute_name(".luarocks.patches.applied"), "w") |
| 72 | if fd then | 72 | if fd then |
| 73 | fd:close() | 73 | fd:close() |
| 74 | end | 74 | end |
