From 616775f5476e6d15bf3a47c109dfaf368f1ec737 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 16 Sep 2009 19:04:34 +0000 Subject: [PATCH] Deal with spaces, especially OSX loves them svn path=/main/branches/prefix/; revision=14278 --- bin/misc-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 675a6c577..3d9f1b49d 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -483,8 +483,8 @@ install_qa_check() { rm -f "${T}"/non-prefix-shebangs-errs local WHITELIST=" /usr/bin/env " # this is hell expensive, but how else? - find "${ED}" -type f -executable \ - | xargs grep -H -n -m1 "^#!" \ + find "${ED}" -type f -executable -print0 \ + | xargs -0 grep -H -n -m1 "^#!" \ | while read f ; do fn=${f%%:*} -- 2.26.2