2a601cbd09
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.
5 lines
60 B
Go
5 lines
60 B
Go
// +build windows
|
|
package lfs
|
|
|
|
var netrcBasename = "_netrc"
|