[106645] trunk/base/src/macports1.0/macports.tcl

jmr at macports.org jmr at macports.org
Mon Jun 3 01:31:14 PDT 2013


Revision: 106645
          https://trac.macports.org/changeset/106645
Author:   jmr at macports.org
Date:     2013-06-03 01:31:14 -0700 (Mon, 03 Jun 2013)
Log Message:
-----------
declare rsync vars global before using them

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2013-06-03 08:28:18 UTC (rev 106644)
+++ trunk/base/src/macports1.0/macports.tcl	2013-06-03 08:31:14 UTC (rev 106645)
@@ -838,16 +838,16 @@
 
     # Set rync options
     if {![info exists rsync_server]} {
+        global macports::rsync_server
         set macports::rsync_server rsync.macports.org
-        global macports::rsync_server
     }
     if {![info exists rsync_dir]} {
+        global macports::rsync_dir
         set macports::rsync_dir release/tarballs/base.tar
-        global macports::rsync_dir
     }
     if {![info exists rsync_options]} {
+        global macports::rsync_options
         set rsync_options "-rtzv --delete-after"
-        global macports::rsync_options
     }
 
     set portsharepath ${prefix}/share/macports
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130603/5e64333d/attachment.html>


More information about the macports-changes mailing list