[51535] users/ryandesign/minivmac-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed May 27 09:07:42 PDT 2009


Revision: 51535
          http://trac.macports.org/changeset/51535
Author:   ryandesign at macports.org
Date:     2009-05-27 09:07:41 -0700 (Wed, 27 May 2009)
Log Message:
-----------
minivmac-devel: When debugging, also print the command used to detach the disk image.

Modified Paths:
--------------
    users/ryandesign/minivmac-devel/Portfile

Modified: users/ryandesign/minivmac-devel/Portfile
===================================================================
--- users/ryandesign/minivmac-devel/Portfile	2009-05-27 16:05:31 UTC (rev 51534)
+++ users/ryandesign/minivmac-devel/Portfile	2009-05-27 16:07:41 UTC (rev 51535)
@@ -206,7 +206,9 @@
 }
 
 proc my_detach_disk_image {mountpoint} {
-    system "hdiutil detach ${mountpoint} -force"
+    set my_cmd "hdiutil detach ${mountpoint} -force"
+    ui_debug ${my_cmd}
+    system ${my_cmd}
     file delete -force ${mountpoint}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090527/fb604f82/attachment.html>


More information about the macports-changes mailing list