Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

mktemp within apps-addupdate doesn't support older versions of OS X #17

Open
johnfonner opened this issue Sep 11, 2018 · 0 comments
Open

Comments

@johnfonner
Copy link
Contributor

apps-addupdate now uses a mktemp command with no arguments to create a temporary file. Older versions of OS X (and maybe other OSes) require a template for mktemp.

According to https://stackoverflow.com/questions/31396985/why-is-mktemp-on-os-x-broken-with-a-command-that-worked-on-linux, the most OS agnostic way of call mktemp is:

mktemp "${TMPDIR:-/tmp}/XXXXXXXXX"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant