Skip to content
Permalink
Browse files

Fix library regexp

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@238 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Aug 21, 2002
1 parent 7a5b532 commit e86c0a0384cfae4d7183d496d94e1d99a49ada7f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/port1.0/portutil.tcl
@@ -90,7 +90,8 @@ proc swdep_resolve {name chain} {
if {[info exists env(DYLD_FALLBACK_LIBRARY_PATH)]} {
lappend search_path $env(DYLD_LIBRARY_PATH)
}
set depregex \^$depregex\.+\.dylib\$
regsub {\.} $depregex {\.} depregex
set depregex \^$depregex.*\\.dylib\$
}
bin {
set search_path [split $env(PATH) :]
@@ -107,7 +108,6 @@ proc swdep_resolve {name chain} {
continue
}
foreach filename [readdir $path] {
ui_debug "Checking dependency $filename $depregex"
if {[regexp $depregex $filename] == 1} {
ui_debug "Found Dependency: path: $path filename: $filename regex: $depregex"
return 0

0 comments on commit e86c0a0

Please sign in to comment.
You can’t perform that action at this time.