diff options
Diffstat (limited to '')
-rw-r--r-- | src/luarocks/core/cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/core/cfg.lua b/src/luarocks/core/cfg.lua index fd74ff98..02fb564b 100644 --- a/src/luarocks/core/cfg.lua +++ b/src/luarocks/core/cfg.lua | |||
@@ -560,7 +560,7 @@ function cfg.init(detected, warning) | |||
560 | local lua_bindir = detected.lua_bindir or hardcoded.LUA_BINDIR or (arg and arg[-1] and arg[-1]:gsub("[\\/][^\\/]+$", "")) | 560 | local lua_bindir = detected.lua_bindir or hardcoded.LUA_BINDIR or (arg and arg[-1] and arg[-1]:gsub("[\\/][^\\/]+$", "")) |
561 | local lua_incdir = detected.lua_incdir or hardcoded.LUA_INCDIR | 561 | local lua_incdir = detected.lua_incdir or hardcoded.LUA_INCDIR |
562 | local lua_libdir = detected.lua_libdir or hardcoded.LUA_LIBDIR | 562 | local lua_libdir = detected.lua_libdir or hardcoded.LUA_LIBDIR |
563 | local lua_dir = detected.lua_dir or hardcoded.LUA_DIR | 563 | local lua_dir = detected.lua_dir or hardcoded.LUA_DIR or (lua_bindir and lua_bindir:gsub("[\\/]bin$", "")) |
564 | 564 | ||
565 | local init = cfg.init | 565 | local init = cfg.init |
566 | 566 | ||