Index: macports1.0/macports.tcl
===================================================================
--- macports1.0/macports.tcl	(revision 42228)
+++ macports1.0/macports.tcl	(working copy)
@@ -1377,7 +1377,6 @@
 proc mportsync {{optionslist {}}} {
     global macports::sources macports::portdbpath macports::rsync_options tcl_platform
     global macports::portverbose
-    global macports::autoconf::rsync_path
     array set options $optionslist
 
     set numfailed 0
@@ -1395,7 +1394,7 @@
             {^file$} {
                 set portdir [macports::getportdir $source]
                 if {[file exists $portdir/.svn]} {
-                    set svn_commandline "[macports::findBinary svn ${macports::autoconf::svn_path}] update --non-interactive ${portdir}"
+                    set svn_commandline "[macports::findBinary svn] update --non-interactive ${portdir}"
                     ui_debug $svn_commandline
                     if {
                         [catch {
@@ -1428,7 +1427,7 @@
                     set source "${source}/"
                 }
                 # Do rsync fetch
-                set rsync_commandline "${macports::autoconf::rsync_path} ${rsync_options} ${source} ${destdir}"
+                set rsync_commandline "[macports::findBinary rsync] ${rsync_options} ${source} ${destdir}"
                 ui_debug $rsync_commandline
                 if {[catch {system $rsync_commandline}]} {
                     ui_error "Synchronization of the local ports tree failed doing rsync"
@@ -1781,7 +1780,7 @@
 # selfupdate procedure
 proc macports::selfupdate {{optionslist {}}} {
     global macports::prefix macports::portdbpath macports::libpath macports::rsync_server macports::rsync_dir macports::rsync_options
-    global macports::autoconf::macports_version macports::autoconf::rsync_path
+    global macports::autoconf::macports_version
     array set options $optionslist
     
     # syncing ports tree.
@@ -1800,7 +1799,7 @@
     
     # sync the MacPorts sources
     ui_debug "Updating MacPorts sources using rsync"
-    if { [catch { system "$rsync_path $rsync_options rsync://${rsync_server}/${rsync_dir} $mp_source_path" } result ] } {
+    if { [catch { system "[macports::findBinary rsync] $rsync_options rsync://${rsync_server}/${rsync_dir} $mp_source_path" } result ] } {
        return -code error "Error synchronizing MacPorts sources: $result"
     }
 
Index: macports1.0/macports_autoconf.tcl.in
===================================================================
--- macports1.0/macports_autoconf.tcl.in	(revision 42228)
+++ macports1.0/macports_autoconf.tcl.in	(working copy)
@@ -35,7 +35,5 @@
     variable macports_conf_path "@MPCONFIGDIR_EXPANDED@"
     variable macports_version "@MP_VERSION@"
     variable macports_user_dir "~/.macports"
-    variable svn_path "@SVN@"
-    variable rsync_path "@RSYNC@"
     variable open_path "@OPEN@"
 }

