diff --git a/pkg/minikube/command/kic_runner.go b/pkg/minikube/command/kic_runner.go index 76379e3c40c7..8f4a6826187d 100644 --- a/pkg/minikube/command/kic_runner.go +++ b/pkg/minikube/command/kic_runner.go @@ -195,7 +195,7 @@ func (k *kicRunner) Copy(f assets.CopyableFile) error { if err != nil { return errors.Wrap(err, "detecting home dir") } - tmpFolder = os.Getenv(home) + tmpFolder = home } tf, err := ioutil.TempFile(tmpFolder, "tmpf-memory-asset") if err != nil {