diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-14 18:22:49 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-01-14 22:48:08 -0300 |
| commit | c28d6390735c5859649052424503cbdeec7e9ec8 (patch) | |
| tree | 7881f041beb636ebd67cf7080ee8797ea9ea5491 /binary | |
| parent | 74960d73342da4408aa59373cc3dcd898c7d1eb1 (diff) | |
| download | luarocks-c28d6390735c5859649052424503cbdeec7e9ec8.tar.gz luarocks-c28d6390735c5859649052424503cbdeec7e9ec8.tar.bz2 luarocks-c28d6390735c5859649052424503cbdeec7e9ec8.zip | |
Windows binary: do not hardcode . as LUA_BINDIR
Diffstat (limited to 'binary')
| -rwxr-xr-x | binary/all_in_one | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/binary/all_in_one b/binary/all_in_one index 82ea578c..80712b13 100755 --- a/binary/all_in_one +++ b/binary/all_in_one | |||
| @@ -160,8 +160,7 @@ local function write_hardcoded_module(dir) | |||
| 160 | SYSCONFDIR = if_platform("unix", SYSCONFDIR), | 160 | SYSCONFDIR = if_platform("unix", SYSCONFDIR), |
| 161 | 161 | ||
| 162 | LUA_DIR = if_platform("unix", cfg.variables.LUA_DIR), | 162 | LUA_DIR = if_platform("unix", cfg.variables.LUA_DIR), |
| 163 | LUA_BINDIR = if_platform("unix", cfg.variables.LUA_BINDIR) | 163 | LUA_BINDIR = if_platform("unix", cfg.variables.LUA_BINDIR), |
| 164 | or if_platform("windows", "."), | ||
| 165 | LUA_INTERPRETER = if_platform("unix", cfg.lua_interpreter), | 164 | LUA_INTERPRETER = if_platform("unix", cfg.lua_interpreter), |
| 166 | } | 165 | } |
| 167 | 166 | ||
