Revision: 90082 http://trac.macports.org/changeset/90082 Author: jmr@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}"] >
participants (1)
-
jmr@macports.org