mirror of https://github.com/golang/go.git
Merge 4f3a780f32 into 49cdf0c42e
This commit is contained in:
commit
c8cc153c78
|
|
@ -616,7 +616,7 @@ func UserHomeDir() (string, error) {
|
|||
if v := Getenv(env); v != "" {
|
||||
return v, nil
|
||||
}
|
||||
// On some geese the home directory is not always defined.
|
||||
// On some operating systems the home directory is not always defined.
|
||||
switch runtime.GOOS {
|
||||
case "android":
|
||||
return "/sdcard", nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue