diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2020-04-17 18:15:53 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2020-04-22 17:10:21 -0300 |
commit | 7e595c685b40670ee91c3c3723b7788115a13165 (patch) | |
tree | 40b0935674261f40ad7338ddcff30a45876dcbbc | |
parent | be97d188a22eb39ea1511fc25194d30a649a7c7f (diff) | |
download | luarocks-7e595c685b40670ee91c3c3723b7788115a13165.tar.gz luarocks-7e595c685b40670ee91c3c3723b7788115a13165.tar.bz2 luarocks-7e595c685b40670ee91c3c3723b7788115a13165.zip |
improve warning message
-rw-r--r-- | src/luarocks/cmd.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua index 6c0363a2..be863cfa 100644 --- a/src/luarocks/cmd.lua +++ b/src/luarocks/cmd.lua | |||
@@ -566,8 +566,9 @@ function cmd.run_command(description, commands, external_namespace, ...) | |||
566 | if not lua_found and args.command ~= "config" and args.command ~= "help" then | 566 | if not lua_found and args.command ~= "config" and args.command ~= "help" then |
567 | util.warning(tried .. | 567 | util.warning(tried .. |
568 | "\nModules may not install with the correct configurations. " .. | 568 | "\nModules may not install with the correct configurations. " .. |
569 | "You may want to specify the path prefix to your build " .. | 569 | "You may want to configure the path prefix to your build " .. |
570 | "of Lua " .. cfg.lua_version .. " using --lua-dir") | 570 | "of Lua " .. cfg.lua_version .. " using\n\n" .. |
571 | " luarocks config --local lua_dir <your-lua-prefix>\n") | ||
571 | end | 572 | end |
572 | cfg.lua_found = lua_found | 573 | cfg.lua_found = lua_found |
573 | 574 | ||