summaryrefslogtreecommitdiff
path: root/scripts/utils.sh
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-27 15:07:24 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-27 15:07:24 +0000
commiteedc7b50be0121effa4ea03862c045cf6114c944 (patch)
tree05a5bc2747a4534bc8104fd49adc1cbf3f0c95d8 /scripts/utils.sh
parent79b3bd3f6652f114f14afff08f6ed9e9018aa782 (diff)
downloadgitlab-ce-eedc7b50be0121effa4ea03862c045cf6114c944.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/utils.sh')
-rw-r--r--scripts/utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/utils.sh b/scripts/utils.sh
index 151b58f0db2..0d120473bb6 100644
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -124,7 +124,7 @@ function fail_on_warnings() {
local warnings
# Filter out allowed warnings from stderr.
# Turn grep errors into warnings so we fail later.
- warnings=$(grep --invert-match --file "$allowed_warning_file" "$warning_file" 2>&1 || true)
+ warnings=$(grep --invert-match --extended-regexp --file "$allowed_warning_file" "$warning_file" 2>&1 || true)
rm -f "$allowed_warning_file"