Changeset 196 for trunk/base
- Timestamp:
- Aug 18, 2002, 12:30:51 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/base/Tcl/port1.0/portutil.tcl
r191 r196 66 66 67 67 proc swdep_resolve {name chain} { 68 global $name env 68 global $name env sysportpath 69 69 if {![info exists $name]} { 70 70 return 0 … … 103 103 } 104 104 foreach path $search_path { 105 # XXX XXX XXX XXX Broken XXX XXX XXX XXX106 # Always executes. need to fix regex path checking107 105 if {![file isdirectory $path]} { 108 106 continue 109 107 } 110 if {![file isfile $path/$depregex]} { 111 global sysportpath 112 build $sysportpath/software/$portname build make 113 return 0 114 } 115 } 108 foreach filename [readdir $path] { 109 if {[regexp $depregex $filename] == 1} { 110 puts "GOLDEN: $path $filename $depregex" 111 return 0 112 } 113 } 114 } 115 build $sysportpath/software/$portname build make 116 116 return 0 117 117 }
Note: See TracChangeset
for help on using the changeset viewer.