[27825] trunk/base/src/macports1.0/macports.tcl
source_changes at macosforge.org
source_changes at macosforge.org
Tue Aug 14 13:58:44 PDT 2007
Revision: 27825
http://trac.macosforge.org/projects/macports/changeset/27825
Author: jmpp at macports.org
Date: 2007-08-14 13:58:43 -0700 (Tue, 14 Aug 2007)
Log Message:
-----------
Small API change to mark the sole argument to macports::selfupdate as optional,
so that any library client can call the proc without any required global array plumbing.
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2007-08-14 20:41:52 UTC (rev 27824)
+++ trunk/base/src/macports1.0/macports.tcl 2007-08-14 20:58:43 UTC (rev 27825)
@@ -1557,7 +1557,7 @@
}
# selfupdate procedure
-proc macports::selfupdate {optionslist} {
+proc macports::selfupdate {{optionslist {}}} {
global macports::prefix macports::portdbpath macports::rsync_server macports::rsync_dir macports::rsync_options
global macports::autoconf::macports_conf_path macports::autoconf::rsync_path
array set options $optionslist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070814/a792c033/attachment.html
More information about the macports-changes
mailing list