Changeset 1522


Ignore:
Timestamp:
Dec 30, 2002, 3:09:03 AM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Commit jpm's patch to use curl's support for HTTP redirection

Location:
trunk/base/src
Files:
2 edited

Legend:

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

    r1515 r1522  
    186186    }
    187187    if {${tcl_platform(os)} == "Darwin"} {
    188         if {[catch {exec curl -s -S -o [file join $fetchdir $fetchfile] $url} result]} {
     188        if {[catch {exec curl -L -s -S -o [file join $fetchdir $fetchfile] $url} result]} {
    189189            return -code error "Port remote fetch failed: $result"
    190190        }
     
    286286        }
    287287        if {${tcl_platform(os)} == "Darwin"} {
    288             exec curl -s -S -o $indexfile $source/PortIndex
     288            exec curl -L -s -S -o $indexfile $source/PortIndex
    289289        } else {
    290290            exec fetch -q -o $indexfile $source/PortIndex
  • trunk/base/src/port1.0/portfetch.tcl

    r1503 r1522  
    6161default fetch.dir {${distpath}}
    6262default fetch.args {"-o ${distfile}.TMP"}
     63default fetch.pre_args "-L"
    6364default fetch.post_args {"${site}${distfile}"}
    6465
Note: See TracChangeset for help on using the changeset viewer.