summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/fbsd-conf/fbsd-conf.sh')
-rw-r--r--patches/fbsd-conf/fbsd-conf.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/fbsd-conf/fbsd-conf.sh b/patches/fbsd-conf/fbsd-conf.sh
index 31cbd02..54d727d 100644
--- a/patches/fbsd-conf/fbsd-conf.sh
+++ b/patches/fbsd-conf/fbsd-conf.sh
@@ -4,9 +4,9 @@
patch_targets() {
# Find the configure scripts with a libtool that checks for freebsd
# versioning format, and that were not patched with our patch already
- find "${WORKDIR}" -name configure -print0 | \
- xargs -0 grep --null -l "version_type=freebsd-" | \
- xargs -0 grep -L 'Handle Gentoo/FreeBSD as it was Linux'
+ fgrep --null -l --include configure "version_type=freebsd-" "${WORKDIR}" | \
+ xargs -0 fgrep -L 'Handle Gentoo/FreeBSD as it was Linux' | \
+ fgrep -v '(standard input)'
}
# This patch is required only on Gentoo/FreeBSD