diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2019-04-16 16:38:24 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-04-16 16:38:24 -0300 |
| commit | 0171e22f3ddaef5b694409aba3e0f1c8def41dba (patch) | |
| tree | 0393dd83965d0a50387ce8701975ee272bdc3409 /src | |
| parent | 0c5f8edd5131b14b876fe5964eeb9957c5254df7 (diff) | |
| download | luarocks-0171e22f3ddaef5b694409aba3e0f1c8def41dba.tar.gz luarocks-0171e22f3ddaef5b694409aba3e0f1c8def41dba.tar.bz2 luarocks-0171e22f3ddaef5b694409aba3e0f1c8def41dba.zip | |
patch lockfile: do not rely on relative paths
This should fix the Windows build.
Diffstat (limited to 'src')
| -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 |
