Fair enough. I suppose something like this would do?

if type -P mktemp > /dev/null; then ...; else ...; fi

Reply via email to