[80896] contrib/restore_ports/restore_ports.tcl
jmr at macports.org
jmr at macports.org
Wed Jul 20 13:17:01 PDT 2011
Revision: 80896
http://trac.macports.org/changeset/80896
Author: jmr at macports.org
Date: 2011-07-20 13:17:00 -0700 (Wed, 20 Jul 2011)
Log Message:
-----------
restore_ports: handle absence of /Library/Tcl
Modified Paths:
--------------
contrib/restore_ports/restore_ports.tcl
Modified: contrib/restore_ports/restore_ports.tcl
===================================================================
--- contrib/restore_ports/restore_ports.tcl 2011-07-20 19:32:53 UTC (rev 80895)
+++ contrib/restore_ports/restore_ports.tcl 2011-07-20 20:17:00 UTC (rev 80896)
@@ -212,7 +212,9 @@
# Begin
set macportsTclPath "/Library/Tcl"
-#set macportsTclPath "/opt/mptest/share/macports/Tcl"
+if {![file isfile ${macportsTclPath}/macports1.0/macports_fastload.tcl]} {
+ set macportsTclPath "/opt/local/share/macports/Tcl"
+}
set showVersion 0
while {[string index [lindex $::argv 0] 0] == "-" } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110720/ba2ec3a9/attachment.html>
More information about the macports-changes
mailing list