summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--finddeps.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/finddeps.in b/finddeps.in
index ec8cde4..3f4515b 100644
--- a/finddeps.in
+++ b/finddeps.in
@@ -14,7 +14,7 @@ if [[ -z $match ]]; then
exit 0
fi
-for d in "$(find . -type d)"; do
+find . -type d | while read d; do
if [[ -f "$d/PKGBUILD" ]]; then
unset pkgname depends makedepends
. "$d/PKGBUILD"