diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index ba8c7f22..b7e76535 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -595,6 +595,9 @@ end | |||
595 | 595 | ||
596 | cfg.user_agent = "LuaRocks/"..cfg.program_version.." "..cfg.arch | 596 | cfg.user_agent = "LuaRocks/"..cfg.program_version.." "..cfg.arch |
597 | 597 | ||
598 | cfg.http_proxy = os.getenv("http_proxy") | ||
599 | cfg.https_proxy = os.getenv("https_proxy") | ||
600 | |||
598 | --- Check if platform was detected | 601 | --- Check if platform was detected |
599 | -- @param query string: The platform name to check. | 602 | -- @param query string: The platform name to check. |
600 | -- @return boolean: true if LuaRocks is currently running on queried platform. | 603 | -- @return boolean: true if LuaRocks is currently running on queried platform. |