carpentries / actions

GitHub Actions for use in Carpentries-style lessons
1 stars 8 forks source link

use mktemp instead of rolling my own #59

Closed zkamvar closed 1 year ago

zkamvar commented 1 year ago

For some reason, I had thought that temporary directories in BASH were set up through the TEMPDIR variable or something similar and you just could play around in there.

It turns out that mktemp -d is the right answer to creating temporary directories: https://twitter.com/henrikbengtsson/status/1577368529132695553