Changeset 106645


Ignore:
Timestamp:
Jun 3, 2013, 8:31:14 AM (7 years ago)
Author:
jmr@…
Message:

declare rsync vars global before using them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r106644 r106645  
    839839    # Set rync options
    840840    if {![info exists rsync_server]} {
     841        global macports::rsync_server
    841842        set macports::rsync_server rsync.macports.org
    842         global macports::rsync_server
    843843    }
    844844    if {![info exists rsync_dir]} {
     845        global macports::rsync_dir
    845846        set macports::rsync_dir release/tarballs/base.tar
    846         global macports::rsync_dir
    847847    }
    848848    if {![info exists rsync_options]} {
     849        global macports::rsync_options
    849850        set rsync_options "-rtzv --delete-after"
    850         global macports::rsync_options
    851851    }
    852852
Note: See TracChangeset for help on using the changeset viewer.