[52317] trunk/base/src/port1.0/portlivecheck.tcl

nox at macports.org nox at macports.org
Sat Jun 13 20:34:38 PDT 2009


Revision: 52317
          http://trac.macports.org/changeset/52317
Author:   nox at macports.org
Date:     2009-06-13 20:34:34 -0700 (Sat, 13 Jun 2009)
Log Message:
-----------
base: Properly set livecheck.distname default value.

Modified Paths:
--------------
    trunk/base/src/port1.0/portlivecheck.tcl

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2009-06-14 03:29:56 UTC (rev 52316)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2009-06-14 03:34:34 UTC (rev 52317)
@@ -126,6 +126,10 @@
     if {${livecheck.name} eq "default"} {
         set livecheck.name $name
     }
+    # If livecheck.distname is still "default", set it to $name.
+    if {${livecheck.distname} eq "default"} {
+        set livecheck.distname $name
+    }
     if {[lsearch -exact [split $available_types "|"] ${livecheck.type}] != -1} {
         # Load the defaults from _resources/port1.0/livecheck/${livecheck.type}.tcl.
         set defaults_file "$types_dir/${livecheck.type}.tcl"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090613/4a7ac917/attachment.html>


More information about the macports-changes mailing list