Changeset 222 for trunk/base
- Timestamp:
- Aug 21, 2002, 7:34:55 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port1.0/portfetch.tcl
r221 r222 49 49 50 50 proc fetchfiles {args} { 51 global distpath all_dist_files master_sites UI_PREFIX 51 global distpath all_dist_files master_sites UI_PREFIX ports_quiet 52 52 53 53 if {![file isdirectory $distpath]} { … … 60 60 foreach site $master_sites { 61 61 ui_msg "$UI_PREFIX Attempting to fetch $distfile from $site" 62 if ![catch {exec curl -o ${distpath}/${distfile} ${site}${distfile} >&@ stdout} result] { 62 if [tbool ports_quiet] { 63 set verboseflag -s 64 } elseif [tbool ports_verbose] { 65 set verboseflag -v 66 } else { 67 set verboseflag "" 68 } 69 if ![catch {system curl ${verboseflag} -o ${distpath}/${distfile} ${site}${distfile} 2>&1} result] { 63 70 set fetched 1 64 71 break
Note: See TracChangeset
for help on using the changeset viewer.