When stripping PO files, sort the output

Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
Alexander Bokovoy authored and Christian Heimes committed 2018-10-02 12:10:21 +02:00
1 parent a2ad417490
commit ef57be6163
1 file changed
+1 -1
+1 -1
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; \