[47319] trunk/base/src/macports1.0/macports.tcl
raimue at macports.org
raimue at macports.org
Wed Feb 25 14:54:14 PST 2009
Revision: 47319
http://trac.macports.org/changeset/47319
Author: raimue at macports.org
Date: 2009-02-25 14:54:14 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
macports1.0/macports.tcl:
Correct and add more documentation for proc getportresourcepath and
proc getdefaultportresourcepath.
Modified Paths:
--------------
trunk/base/src/macports1.0/macports.tcl
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2009-02-25 22:52:04 UTC (rev 47318)
+++ trunk/base/src/macports1.0/macports.tcl 2009-02-25 22:54:14 UTC (rev 47319)
@@ -949,7 +949,11 @@
##
# Get the path to the _resources directory of the source
#
+# If the file is not available in the current source, it will fall back to the
+# default source. This behavior is controlled by the fallback parameter.
+#
# @param url port url
+# @param path path in _resources we are interested in
# @param fallback fall back to the default source tree
# @return path to the _resources directory or the path to the fallback
proc macports::getportresourcepath {url {path ""} {fallback yes}} {
@@ -976,6 +980,7 @@
##
# Get the path to the _resources directory of the default source
#
+# @param path path in _resources we are interested in
# @return path to the _resources directory of the default source
proc macports::getdefaultportresourcepath {{path ""}} {
global macports::sources_default
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090225/66b2ef43/attachment.html>
More information about the macports-changes
mailing list