Commit Graph

3 Commits

Author SHA1 Message Date
rubyist
2a601cbd09 Use a build flagged var instead of var + init() for setting netrc name
Instead of a blank var in the main config with values set by init() in
build flag protected files, the build flagged files should create the
var. This prevents cases where no build flagged file builds leaving an
empty netrc basename causing auth failures.

This also renames the file config_linux.go to config_nix.go because it
should build on all unix-y platforms.
2015-11-21 10:14:10 -05:00
risk danger olson
f145021933 gofmt 2015-11-18 10:25:34 -07:00
risk danger olson
e7b4348ff4 cache the parsed netrc file so it's not checked all the time 2015-11-18 10:23:36 -07:00