Changeset 14601 for trunk/base
- Timestamp:
- Oct 13, 2005, 7:45:49 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/src/port1.0/portchecksum.tcl
r13738 r14601 1 1 # et:ts=4 2 2 # portchecksum.tcl 3 # $Id: portchecksum.tcl,v 1.4 4 2005/08/27 00:07:30pguyot Exp $3 # $Id: portchecksum.tcl,v 1.45 2005/10/13 19:45:49 pguyot Exp $ 4 4 # 5 5 # Copyright (c) 2002 - 2004 Apple Computer, Inc. … … 184 184 # 185 185 proc checksum_main {args} { 186 global UI_PREFIX all_dist_files checksums_array 186 global UI_PREFIX all_dist_files checksums_array portverbose 187 187 188 188 # If no files have been downloaded, there is nothing to checksum. … … 226 226 } else { 227 227 ui_error "[format [msgcat::mc "Checksum (%s) mismatch for %s"] $type $distfile]" 228 # if -v isn't specified, trash the distfile. 229 if {${portverbose} == "no"} { 230 file delete -force ${fullpath} 231 } 228 232 ui_info "[format [msgcat::mc "Portfile checksum: %s %s %s"] $distfile $type $sum]" 229 233 ui_info "[format [msgcat::mc "Distfile checksum: %s %s %s"] $distfile $type $calculated_sum]"
Note: See TracChangeset
for help on using the changeset viewer.