diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2019-04-26 11:41:10 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-04-26 11:55:59 -0300 |
commit | d534a32241aab49c18bae1b21f40f856baa22ab0 (patch) | |
tree | c54248544f380fae092f8183e71e6e4670e45193 /src | |
parent | 18b9a94491a80a1bbe62a92103b8d8ba1bb1487e (diff) | |
download | luarocks-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.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 | ||