mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
estesp noticed that when $HOME is / the ~ substitutions messes up becuase it tries to replace all paths that start with "/" with "~". This fixes it so that it will only replace it when $HOME isn't "/". Signed-off-by: Doug Davis <dug@us.ibm.com> |
||
|---|---|---|
| .. | ||
| homedir.go | ||
| homedir_test.go | ||
| MAINTAINERS | ||