aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2019-04-26 11:41:10 -0300
committerHisham Muhammad <hisham@gobolinux.org>2019-04-26 11:55:59 -0300
commitd534a32241aab49c18bae1b21f40f856baa22ab0 (patch)
treec54248544f380fae092f8183e71e6e4670e45193 /src
parent18b9a94491a80a1bbe62a92103b8d8ba1bb1487e (diff)
downloadluarocks-d534a32241aab49c18bae1b21f40f856baa22ab0.tar.gz
luarocks-d534a32241aab49c18bae1b21f40f856baa22ab0.tar.bz2
luarocks-d534a32241aab49c18bae1b21f40f856baa22ab0.zip
Fix build of binaries
Diffstat (limited to 'src')
-rw-r--r--src/luarocks/core/cfg.lua2
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