id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 17181,mktemp tcl procedure needs a way to make a temporary directories (not just temporary files),ryandesign,macports-tickets@…,"In MacPorts we have a `mktemp` tcl command but it only makes temporary files ([browser:trunk/base/src/pextlib1.0/Pextlib.c Pextlib.c], added in r1045). Sometimes we need to make temporary directories. For example, in the code that handles the ""`use_dmg yes`"" portfile directive ([browser:trunk/base/src/port1.0/portextract.tcl portextract.tcl], added in r36708), I used ""`exec mktemp -d`"" because the tcl ""`mktemp`"" didn't do this. There's even existing code in `port submit` that uses the tcl `mktemp` as if it creates a temporary directory, which can't possibly work ([browser:trunk/base/src/port1.0/portsubmit.tcl portsubmit.tcl], added in r7272).",enhancement,closed,Normal,MacPorts 1.7.1,base,1.6.0,fixed,,,