When stripping PO files, sort the output

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Alexander Bokovoy 2018-10-02 10:34:49 +03:00 committed by Christian Heimes
parent a2ad417490
commit ef57be6163

View File

@ -11,7 +11,7 @@ PYTHON = @PYTHON@
.PHONY: strip-po
strip-po:
for po_file in $(POFILES); do \
$(MSGATTRIB) --translated --no-fuzzy --no-location $$po_file > $$po_file.tmp || exit 1; \
$(MSGATTRIB) --translated --no-fuzzy --no-location -s $$po_file > $$po_file.tmp || exit 1; \
mv $$po_file.tmp $$po_file || exit 1; \
done
export FILES_TO_REMOVE=`find $(srcdir) -name '*.po' -empty` || exit 1; \