Changeset 344 for trunk/util/find.sh

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

Multiple find.sh matches were being handled poorly.

Files:
1 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