Replaced 'egrep' that is now deprecated.

This commit is contained in:
John Van de Meulebrouck Brendgard 2023-11-16 12:09:02 +01:00
parent cb9e1f8670
commit fd4523308f
No known key found for this signature in database
GPG key ID: 807A5FD4B3337B77

View file

@ -228,7 +228,7 @@ verify_last_commit "./scripts/jsonyaml-no-output.py"
verify_last_commit "./bump-tag"
# Test the syntax of each YAML-file to be tagged.
for file in $(git diff --name-only "${last_tag}..${this_branch}" | egrep "^.*\.(yaml|yml)$"); do
for file in $(git diff --name-only "${last_tag}..${this_branch}" | grep -E "^.*\.(yaml|yml)$"); do
if [[ -f "${file}" ]]; then
./scripts/jsonyaml-no-output.py yaml "${file}"
fi