From 50910c32c548c1589cc4d949a209c5b7eba7d7ae Mon Sep 17 00:00:00 2001 From: Link Mauve Date: Wed, 9 Apr 2025 20:26:56 +0200 Subject: [PATCH] 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 --- 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')