diff --git a/tox.ini b/tox.ini index baab4a6d..cb0089d3 100644 --- a/tox.ini +++ b/tox.ini @@ -31,8 +31,8 @@ commands = doc/upstream-training/source/locale/ sphinx-build -b gettext doc/upstream-training/source/website \ doc/upstream-training/source/locale/ - bash -c "msgcat --use-first --sort-by-file doc/upstream-training/source/locale/*.pot | \ - awk '$0 !~ /^\# [a-z0-9]+$/' > doc/upstream-training/source/upstream-training.pot && \ + bash -c "msgcat --use-first --sort-by-file doc/upstream-training/source/locale/*.pot \ + > doc/upstream-training/source/upstream-training.pot && \ rm doc/upstream-training/source/locale/*.pot && \ rm -rf doc/upstream-training/source/locale/.doctrees/ && \ mv doc/upstream-training/source/upstream-training.pot doc/upstream-training/source/locale/upstream-training.pot"