Load cached images using VM path separators

pull/2241/merge
Ivan Hamilton 2018-05-19 23:20:33 +10:00 committed by dlorenc
parent 3e0faef9a5
commit 52cf7de475
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ import (
"io/ioutil"
"os"
"os/exec"
"path"
"path/filepath"
"runtime"
"strings"
@ -198,7 +199,7 @@ func LoadFromCacheBlocking(cmd bootstrapper.CommandRunner, src string) error {
break
}
}
dst := filepath.Join(tempLoadDir, filename)
dst := path.Join(tempLoadDir, filename)
f, err := assets.NewFileAsset(src, tempLoadDir, filename, "0777")
if err != nil {
return errors.Wrapf(err, "creating copyable file asset: %s", filename)