aboutsummaryrefslogtreecommitdiffstats
path: root/Make.Rules
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-09-29 10:57:37 +0200
committerAndrew G. Morgan <morgan@kernel.org>2022-09-29 06:54:24 -0700
commit45bf9259a04fefc017024825c27153a650669577 (patch)
tree0f34afd16824e8c80c9bc6798a4c550bd27de7a6 /Make.Rules
parent4f96e6788d535da5f57a3452a54b8d92bd41cd8e (diff)
downloadlibcap-45bf9259a04fefc017024825c27153a650669577.tar.gz
Use POSIX `grep`
* GNU grep 3.8 considers `egrep` and `fgrep` obsolescent and throws warnings: ./mkcapshdoc.sh > capshdoc.c.cf fgrep: warning: fgrep is obsolescent; using /bin/grep -F fgrep: warning: fgrep is obsolescent; using /bin/grep -F fgrep: warning: fgrep is obsolescent; using /bin/grep -F fgrep: warning: fgrep is obsolescent; using /bin/grep -F [...] https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'Make.Rules')
-rw-r--r--Make.Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make.Rules b/Make.Rules
index d2768e1..26d433a 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -18,7 +18,7 @@ FAKEROOT=$(DESTDIR)
# administrative operations that could be needed to recover a system.
ifndef lib
-lib=$(shell ldd /usr/bin/ld|egrep "ld-linux|ld.so"|cut -d/ -f2)
+lib=$(shell ldd /usr/bin/ld|grep -E "ld-linux|ld.so"|cut -d/ -f2)
endif
ifndef sbin