aboutsummaryrefslogtreecommitdiff
path: root/kdebug
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 /kdebug
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 'kdebug')
-rwxr-xr-xkdebug/test-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdebug/test-kernel.sh b/kdebug/test-kernel.sh
index 0962ce5..5d480c9 100755
--- a/kdebug/test-kernel.sh
+++ b/kdebug/test-kernel.sh
@@ -62,7 +62,7 @@ if [ -f "$HERE/interactive" ]; then
echo "file /root/interactive $HERE/interactive 0755 0 0" >> fs.conf
fi
-COMMANDS="awk cat chmod cp dmesg fgrep id less ln ls mkdir mount pwd rm rmdir sh sort umount uniq vi"
+COMMANDS="awk cat chmod cp dmesg grep id less ln ls mkdir mount pwd rm rmdir sh sort umount uniq vi"
for f in $COMMANDS; do
echo slink /bin/$f /sbin/busybox 0755 0 0 >> fs.conf
done