rkyleg / asdf-julia

MIT License
25 stars 16 forks source link

Fix mktemp on Alpine #21

Closed christopher-dG closed 2 years ago

christopher-dG commented 2 years ago
$ mktemp -d -t foo.XXX
mktemp: (null): Invalid argument

$ mktemp -d -t foo.XXXXXX
/tmp/foo.kipGjP

$ cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.14.0
PRETTY_NAME="Alpine Linux v3.14"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"

I'm guessing this is a busybox or musl thing. Also tested the update on MacOS and Ubuntu with glibc.