summaryrefslogtreecommitdiff
path: root/util/find.sh
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-28 18:44:49 +0000
committerJay Freeman <saurik@saurik.com>2008-06-28 18:44:49 +0000
commit56af309dadc4a25af2cb5f31b55202de39c7ed6c (patch)
tree531a960f1789759b0357b047aba19619c62b1bd1 /util/find.sh
parentec0937ea2d61c2b0081326c063bcfc11afda22e0 (diff)
Multiple find.sh matches were being handled poorly.
git-svn-id: http://svn.telesphoreo.org/trunk@344 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'util/find.sh')
-rwxr-xr-xutil/find.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/find.sh b/util/find.sh
index d45bea76b..4e0a04846 100755
--- a/util/find.sh
+++ b/util/find.sh
@@ -7,7 +7,7 @@ while [[ $# -ne 0 ]]; do
if [[ $1 == /* ]]; then
unset found
- found=$(echo "${PKG_PATH}:" | while read -r -d ':' path; do
+ found=$(echo "${PKG_PATH}:" | while IFS= read -r -d : path; do
if [[ -e ${path}$1 ]]; then
if [[ ${found+@} ]]; then
echo -n ':'