Skip to content

Commit

Permalink
don't use deprecated egrep
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 committed Sep 6, 2022
1 parent dc28e7e commit f61d094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-translations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export LC_MESSAGES=C
exitcode=0

for i in $(find -name \*.po); do
if msgfmt -v $i -o /dev/null 2>&1 | tee msg | egrep -v '^[0-9]+ translated message(s?).$' > /dev/null; then
if msgfmt -v $i -o /dev/null 2>&1 | tee msg | grep -E -v '^[0-9]+ translated message(s?).$' > /dev/null; then
echo -n "$i: "
cat msg
exitcode=1
Expand Down

0 comments on commit f61d094

Please sign in to comment.