summaryrefslogtreecommitdiff
path: root/finddeps.in
diff options
context:
space:
mode:
Diffstat (limited to 'finddeps.in')
-rw-r--r--finddeps.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/finddeps.in b/finddeps.in
index 2a085e5..7237d67 100644
--- a/finddeps.in
+++ b/finddeps.in
@@ -17,7 +17,7 @@ if [[ -z $match ]]; then
exit 1
fi
-find . -type d | while read -r d; do
+find . -type d -print0 2>/dev/null| while read -r -d '' d; do
if [[ -f "$d/PKGBUILD" ]]; then
pkgname=() depends=() makedepends=() optdepends=()
# shellcheck source=PKGBUILD.proto