tree: Replace egrep with grep -E
For compatibility reasons, egrep is just a wrapper around grep today. Thus, replace it with `grep -E`. Change-Id: Ief08a22e4cd7211a3fee278492c95d37f9e058fa Signed-off-by: Felix Singer <felix.singer@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74171 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
parent
1d13fba3c3
commit
74b4bd0e92
5 changed files with 5 additions and 5 deletions
|
|
@ -36,7 +36,7 @@ esac
|
|||
# lines must be backwards due to tac(1)
|
||||
SPLICE_CMD=""
|
||||
if test "$1" = "--cros"; then
|
||||
if test -z "$( commit_message |egrep '^(BUG|TEST)=')"; then
|
||||
if test -z "$(commit_message | grep -E '^(BUG|TEST)=')"; then
|
||||
SPLICE_CMD='print "\nTEST=none\nBRANCH=none\nBUG=none\n"'
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue