diff options
author | David Seifert <soap@gentoo.org> | 2022-09-29 10:57:37 +0200 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2022-09-29 06:54:24 -0700 |
commit | 45bf9259a04fefc017024825c27153a650669577 (patch) | |
tree | 0f34afd16824e8c80c9bc6798a4c550bd27de7a6 /Make.Rules | |
parent | 4f96e6788d535da5f57a3452a54b8d92bd41cd8e (diff) | |
download | libcap-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.Rules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |