Skip to content

Commit

Permalink
buildsys: remove -e from grep for compatibility with non-XPG4 grep
Browse files Browse the repository at this point in the history
Signed-off-by: Yury V. Zaytsev <[email protected]>
  • Loading branch information
zyv committed Oct 20, 2024
1 parent ecaa664 commit 6ab8e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ${AUTORECONF:-autoreconf} --verbose --install --force -I m4 ${AUTORECONF_FLAGS}
rm -f INSTALL && ln -s doc/INSTALL .

# Generate po/POTFILES.in
if ! xgettext -h 2>&1 | grep -e '--keyword' >/dev/null ; then
if ! xgettext -h 2>&1 | grep -- '--keyword' >/dev/null ; then
echo "gettext is unable to extract translations, set XGETTEXT to GNU gettext!" >&2
touch po/POTFILES.in
else
Expand Down

0 comments on commit 6ab8e0c

Please sign in to comment.