diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 7aaacc76..20aa4a21 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -605,6 +605,10 @@ end | |||
605 | 605 | ||
606 | cfg.user_agent = "LuaRocks/"..cfg.program_version.." "..cfg.arch | 606 | cfg.user_agent = "LuaRocks/"..cfg.program_version.." "..cfg.arch |
607 | 607 | ||
608 | cfg.http_proxy = os.getenv("http_proxy") | ||
609 | cfg.https_proxy = os.getenv("https_proxy") | ||
610 | cfg.no_proxy = os.getenv("no_proxy") | ||
611 | |||
608 | --- Check if platform was detected | 612 | --- Check if platform was detected |
609 | -- @param query string: The platform name to check. | 613 | -- @param query string: The platform name to check. |
610 | -- @return boolean: true if LuaRocks is currently running on queried platform. | 614 | -- @return boolean: true if LuaRocks is currently running on queried platform. |