github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/pkg/machine/qemu/options_darwin.go (about) 1 package qemu 2 3 import ( 4 "os" 5 ) 6 7 func getRuntimeDir() (string, error) { 8 tmpDir, ok := os.LookupEnv("TMPDIR") 9 if !ok { 10 tmpDir = "/tmp" 11 } 12 return tmpDir, nil 13 }