[MacPorts] #60634: skaffold: usage: mktemp [-d] [-q] [-t prefix] [-u] template ...

MacPorts noreply at macports.org
Sat Jun 13 12:45:49 UTC 2020


#60634: skaffold: usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  breun
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  yosemite
      Port:  skaffold    |
-------------------------+----------------------

Comment (by ryandesign):

 The most portable solution is to use the template parameter, e.g.

 {{{
 mktemp -d ${TMPDIR:-/tmp}/skaffold.XXXXXX
 }}}

 You can check on your Mac whether that works with both macOS mktemp and
 the coreutils port's gmktemp which is what mktemp is on Linux. (It does
 for me.)

-- 
Ticket URL: <https://trac.macports.org/ticket/60634#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list