chroot-grep: patch out problematic warnings in egrep and fgrep.

This commit is contained in:
icp 2023-01-12 01:37:31 +05:30 committed by Toyam Cox
parent 304c66b8d3
commit c5b8a2d617
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,10 @@
since 3.8, egrep and fgrep print a warning which can cause many issues with
programs not expecting this behaviour
--- a/src/egrep.sh
+++ b/src/egrep.sh
@@ -1,4 +1,3 @@
#!@SHELL@
cmd=${0##*/}
-echo "$cmd: warning: $cmd is obsolescent; using @grep@ @option@" >&2
exec @grep@ @option@ "$@"

View File

@ -1,7 +1,7 @@
# Template file for 'chroot-grep'
pkgname=chroot-grep
version=3.8
revision=1
revision=2
bootstrap=yes
build_style=gnu-configure
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"