diff options
author | наб <[email protected]> | 2022-03-12 00:26:46 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-04-01 17:58:11 -0700 |
commit | d30577c9dd811688f2609ad532b011b99bceb485 (patch) | |
tree | ebdf844526bff035800232f20c7292711a75fc14 /config | |
parent | f63c9dc70a40f930b09b586e6bc53cabf90fa3a1 (diff) |
fgrep -> grep -F
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13259
Diffstat (limited to 'config')
-rw-r--r-- | config/kernel.m4 | 6 | ||||
-rw-r--r-- | config/zfs-build.m4 | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4 index 639d18377..ec61e2c8f 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -394,11 +394,11 @@ AC_DEFUN([ZFS_AC_KERNEL], [ utsrelease1=$kernelbuild/include/linux/version.h utsrelease2=$kernelbuild/include/linux/utsrelease.h utsrelease3=$kernelbuild/include/generated/utsrelease.h - AS_IF([test -r $utsrelease1 && fgrep -q UTS_RELEASE $utsrelease1], [ + AS_IF([test -r $utsrelease1 && grep -qF UTS_RELEASE $utsrelease1], [ utsrelease=$utsrelease1 - ], [test -r $utsrelease2 && fgrep -q UTS_RELEASE $utsrelease2], [ + ], [test -r $utsrelease2 && grep -qF UTS_RELEASE $utsrelease2], [ utsrelease=$utsrelease2 - ], [test -r $utsrelease3 && fgrep -q UTS_RELEASE $utsrelease3], [ + ], [test -r $utsrelease3 && grep -qF UTS_RELEASE $utsrelease3], [ utsrelease=$utsrelease3 ]) diff --git a/config/zfs-build.m4 b/config/zfs-build.m4 index d516f3d29..726b4b420 100644 --- a/config/zfs-build.m4 +++ b/config/zfs-build.m4 @@ -173,7 +173,7 @@ AC_DEFUN([ZFS_AC_DEBUG_KMEM_TRACKING], [ ]) AC_DEFUN([ZFS_AC_DEBUG_INVARIANTS_DETECT_FREEBSD], [ - AS_IF([sysctl -n kern.conftxt | fgrep -qx $'options\tINVARIANTS'], + AS_IF([sysctl -n kern.conftxt | grep -Fqx $'options\tINVARIANTS'], [enable_invariants="yes"], [enable_invariants="no"]) ]) |