From 4eb9a9081be23796c8af1901b78275d36453dfc5 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Fri, 5 Feb 2021 12:04:33 -0700 Subject: [PATCH] fixed snap package manager bug --- pkg/minikube/command/kic_runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {