aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/4.3/cpp
diff options
context:
space:
mode:
authorXu Cheng2016-07-15 20:55:34 +0800
committerGitHub2016-07-15 20:55:34 +0800
commitde366f71b9c9fded0b5578bb4fef14139834038a (patch)
treee9128b740c162b9ce52694b82e75b19257baf4a8 /Library/ENV/4.3/cpp
parent2b078be186dec5d56ef11e1fcca4927506756704 (diff)
downloadbrew-de366f71b9c9fded0b5578bb4fef14139834038a.tar.bz2
respect user's curlrc file (#516)
Users may have ~/.curlrc file to include options like proxies. However, since we overwrite HOME environment variable during the build and test, curl won't be able to find it. This commit solves this issue by using CURL_HOME environment variable, which will be pointed to the original HOME path. From `curl(1)`: > 1) curl tries to find the "home dir": It first checks for the CURL_HOME and then the HOME environment variables. Failing that, it uses getpwuid() on Unix-like systems (which returns the home dir given the current user in your system). On Windows, it then checks for the APPDATA variable, or as a last resort the '%USER- PROFILE%\Application Data'.
Diffstat (limited to 'Library/ENV/4.3/cpp')
0 files changed, 0 insertions, 0 deletions