Closed alanpearce closed 11 years ago
Actually, -t
doesn't do the same thing. It adds it onto $TMPDIR
, so now my exported VM is hiding under /var/folders/
Perhaps TMPDIR=. mktemp -d
would work better, maybe GNU mktemp supports that too. :)
TMPDIR=. mktemp -d
works as well on GNU. Feel free to create a pull request :)
Yep, another one of those command incompatibility things…
I see that you're passing
--tmpdir=.
tomktemp
. It looks as though-t .
does the same thing in BSD'smktemp
on which OSX is based.I made the change on my local version, but obviously you'll want something that works cross-platform, and I'm not quite sure what that is yet.