mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-10 20:32:54 +00:00
ci: replace egrep with grep -E to avoid deprecation warning
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html Signed-off-by: Balint Tobik <btobik@redhat.com>
This commit is contained in:
parent
9f2799ba4f
commit
e657f58cf9
@ -79,8 +79,8 @@ list_issues_for_pr()
|
|||||||
# "<git-commit> <git-commit-msg>"
|
# "<git-commit> <git-commit-msg>"
|
||||||
#
|
#
|
||||||
local issues=$(echo "$commits" |\
|
local issues=$(echo "$commits" |\
|
||||||
egrep -v "^( | )" |\
|
grep -v -E "^( | )" |\
|
||||||
egrep -i "fixes:* *(#*[0-9][0-9]*)" |\
|
grep -i -E "fixes:* *(#*[0-9][0-9]*)" |\
|
||||||
tr ' ' '\n' |\
|
tr ' ' '\n' |\
|
||||||
grep "[0-9][0-9]*" |\
|
grep "[0-9][0-9]*" |\
|
||||||
sed 's/[.,\#]//g' |\
|
sed 's/[.,\#]//g' |\
|
||||||
|
Loading…
Reference in New Issue
Block a user