Skip to content
Snippets Groups Projects
Commit 15128a1f authored by Benjamin Franzke's avatar Benjamin Franzke
Browse files

[TASK] Replace deprecated egrep in commit-msg hook

egrep is deprecated since 2.5.3 (2007) and is
marked as obsolete in grep 3.8, see
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html

Also remove a stray \ before the # symbol,
which doesn't need escaping in grep.

Prevents the following warnings during the
commit-msg hook:

  egrep: warning: egrep is obsolescent; using grep -E
  egrep: warning: egrep is obsolescent; using grep -E
  egrep: warning: egrep is obsolescent; using grep -E
  grep: warning: stray \ before #
  egrep: warning: egrep is obsolescent; using grep -E

Resolves: #101329
Releases: main, 12.4, 11.5
Change-Id: I2777d8ffd640598d7c92bed166b793b285e5fa06
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79979


Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
parent 5980d2a9
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment