Move netrcFile to Settings

Also get rid of Settings::processEnvironment(), it appears to be
useless.
This commit is contained in:
Eelco Dolstra 2017-02-16 14:46:36 +01:00
parent bd5388e7b2
commit cde4b60919
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
5 changed files with 23 additions and 28 deletions

View file

@ -16,8 +16,6 @@ struct Settings {
Settings();
void processEnvironment();
void loadConfFile();
void set(const string & name, const string & value);
@ -193,6 +191,10 @@ struct Settings {
build settings */
Path preBuildHook;
/* Path to the netrc file used to obtain usernames/passwords for
downloads. */
Path netrcFile;
private:
SettingsMap settings, overrides;