Changeset 344

Show
Ignore:
Timestamp:
06/28/08 18:44:49 (2 months ago)
Author:
saurik
Message:

Multiple find.sh matches were being handled poorly.

Location:
trunk/util
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/util/find.sh

    r199 r344  
    88        unset found 
    99 
    10         found=$(echo "${PKG_PATH}:" | while read -r -d ':' path; do 
     10        found=$(echo "${PKG_PATH}:" | while IFS= read -r -d : path; do 
    1111            if [[ -e ${path}$1 ]]; then 
    1212                if [[ ${found+@} ]]; then 
  • trunk/util/libtool.diff

    r199 r344  
    66          ;; 
    77-       *.la) lib="$deplib" ;; 
    8 +       *.la) lib="$("${PKG_BASE}/util/find.sh" "$deplib")" ;; 
     8+       *.la) lib="$("${PKG_BASE}/util/find.sh" "$deplib")"; lib="${lib%%:*}" ;; 
    99        *.$libext) 
    1010          if test "$pass" = conv; then