[FFmpeg-cvslog] tools: Fix deprecation warning in patcheck

Link Mauve git at videolan.org
Wed Apr 16 14:10:21 EEST 2025


ffmpeg | branch: master | Link Mauve <linkmauve at linkmauve.fr> | Wed Apr  9 20:26:56 2025 +0200| [50910c32c548c1589cc4d949a209c5b7eba7d7ae] | committer: Michael Niedermayer

tools: Fix deprecation warning in patcheck

GNU apparently deprecated their egrep alias, replace it with 'grep -E'
to avoid getting flooded with deprecation warnings.

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50910c32c548c1589cc4d949a209c5b7eba7d7ae
---

 tools/patcheck | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/patcheck b/tools/patcheck
index 934e5b9451..ab6f73a784 100755
--- a/tools/patcheck
+++ b/tools/patcheck
@@ -9,7 +9,7 @@ if [ $# = 0 ]; then
 fi
 
 GREP=grep
-EGREP=egrep
+EGREP='grep -E'
 TMP=patcheck.tmp
 OPT="-nH"
 #FILES=$($GREP '^+++' $* | sed 's/+++ //g')



More information about the ffmpeg-cvslog mailing list