Commit 71fea145 authored by Ricardo Ander-Egg's avatar Ricardo Ander-Egg

Enable cross-compatibility in macOS using both native mktemp and coreutils mktemp.

Tested on macOS 10.14.6 Mojave running coretuils mktemp version: 8.31
parent 319377fa
......@@ -1031,8 +1031,8 @@ mktempdir() {
mktemp_mydistro=$(get_distro_alias "$(get_distro_name)")
if test "${mktemp_mydistro}" = "darwin"; then
debug_message "mktemp -d -t ghcup"
mktemp -d -t ghcup
debug_message "mktemp -d -t ghcup.XXXXXXX"
mktemp -d -t ghcup.XXXXXXX
debug_message "mktemp -d"
mktemp -d
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment