[57773] users/ryandesign/minivmac/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Sep 16 05:17:46 PDT 2009
Revision: 57773
http://trac.macports.org/changeset/57773
Author: ryandesign at macports.org
Date: 2009-09-16 05:17:43 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
minivmac: use mkdtemp procedure instead of calling mktemp manually
Modified Paths:
--------------
users/ryandesign/minivmac/Portfile
Modified: users/ryandesign/minivmac/Portfile
===================================================================
--- users/ryandesign/minivmac/Portfile 2009-09-16 12:09:07 UTC (rev 57772)
+++ users/ryandesign/minivmac/Portfile 2009-09-16 12:17:43 UTC (rev 57773)
@@ -240,7 +240,7 @@
# Mounts a disk image.
proc my_attach_disk_image {disk_image} {
global my_name worksrcpath
- set mountpoint [exec mktemp -d -q -t ${my_name}]
+ set mountpoint [mkdtemp "/tmp/${my_name}.XXXXXXXX"]
# Use this expect script instead of using hdiutil directly, because the
# system disk image has a license agreement we must agree to.
my_system "${worksrcpath}/attach.exp '${disk_image}' '${mountpoint}'"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090916/eff9dd39/attachment.html>
More information about the macports-changes
mailing list