[90082] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Tue Feb 21 07:29:58 PST 2012


Revision: 90082
          http://trac.macports.org/changeset/90082
Author:   jmr at macports.org
Date:     2012-02-21 07:29:56 -0800 (Tue, 21 Feb 2012)
Log Message:
-----------
return immediately from copy_xcode_plist if creating Preferences dir fails

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2012-02-21 14:30:39 UTC (rev 90081)
+++ trunk/base/src/macports1.0/macports.tcl	2012-02-21 15:29:56 UTC (rev 90082)
@@ -1188,6 +1188,7 @@
             ui_debug "Creating Library/Preferences in temporary home: ${target_dir}"
             if {[catch {file mkdir "${target_dir}"} result]} {
                 ui_warn "Failed to create Library/Preferences in temporary home directory: $result"
+                return
             }
         }
         if {![file isfile "${target_dir}/com.apple.dt.Xcode.plist"] || [file mtime "${user_plist}"] >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120221/0d504c1f/attachment.html>


More information about the macports-changes mailing list