mirror of
https://github.com/docker/cli.git
synced 2026-08-31 10:05:19 -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> Upstream-commit: 116367eb07351125754aef01f7d3da152b018710 Component: engine