From 3b380b6d4d421cca33a79b8d0e09dfc1dc888bac Mon Sep 17 00:00:00 2001 From: Diego Elio Pettenò Date: Mon, 18 Dec 2006 21:45:07 +0000 Subject: Don't use xargs to start the grep command, the portable subset of find options allows -exec +, that does what we need. Also use egrep instead of fgrep. svn path=/trunk/; revision=18 --- patches/kde-autoconf/kde-autoconf.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/patches/kde-autoconf/kde-autoconf.sh b/patches/kde-autoconf/kde-autoconf.sh index 98689a5..3663006 100644 --- a/patches/kde-autoconf/kde-autoconf.sh +++ b/patches/kde-autoconf/kde-autoconf.sh @@ -8,8 +8,7 @@ patch_targets() { || return 0 # Find the admindir, wherever it is. - find "${WORKDIR}" -path '*/admin/cvs.sh' -type f -print0 | \ - xargs -0 fgrep -L 'autoconf*2.6*' + find "${WORKDIR}" -path '*/admin/cvs.sh' -type f -exec egrep -L 'autoconf.*2.6.*' {} + } # This patch is always required -- cgit v1.2.3-65-gdbad