Changeset 17033


Ignore:
Timestamp:
Mar 17, 2006, 12:31:47 AM (15 years ago)
Author:
jberry
Message:

Patch bug #7756 by dluke: rely on current path for rsync.
The hardcoded path wasn't very good, and this isn't too much better either, though it does allow the user to easilly replace rsync. We should probably find it during autoconf. Oh well for now.
Fix a minor spelling mistake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/darwinports1.0/darwinports.tcl

    r17031 r17033  
    11# darwinports.tcl
    2 # $Id: darwinports.tcl,v 1.207 2006/03/17 00:22:22 jberry Exp $
     2# $Id: darwinports.tcl,v 1.208 2006/03/17 00:31:47 jberry Exp $
    33#
    44# Copyright (c) 2002 Apple Computer, Inc.
     
    13351335        # syncing ports tree. We expect the user have rsync:// in the sources.conf
    13361336        if {[catch {dportsync} result]} {
    1337                 return -code error "Couldnt sync dports tree: $result"
     1337                return -code error "Couldn't sync dports tree: $result"
    13381338        }
    13391339
     
    13601360
    13611361        ui_debug "Updating using rsync"
    1362         if { [catch { system "/usr/bin/rsync $rsync_options rsync://${rsync_server}/${rsync_dir} $dp_base_path" } ] } {
     1362        if { [catch { system "rsync $rsync_options rsync://${rsync_server}/${rsync_dir} $dp_base_path" } ] } {
    13631363                return -code error "Error: rsync failed in selfupdate"
    13641364        }
Note: See TracChangeset for help on using the changeset viewer.