summaryrefslogtreecommitdiff
path: root/util/find.sh
diff options
context:
space:
mode:
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 ':'