Have xargs expect null termination

This commit is contained in:
Scott Shawcroft 2019-05-14 10:42:52 -07:00
parent bf682d14b3
commit e74f5d5d76
No known key found for this signature in database
GPG Key ID: FD0EDC4B6C53CA59

View File

@ -196,7 +196,7 @@ pseudoxml:
all-source:
locale/circuitpython.pot: all-source
find $(TRANSLATE_SOURCES) -iname "*.c" -print0 | sort -z | xargs xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
find $(TRANSLATE_SOURCES) -iname "*.c" -print0 | sort -z | xargs -0 xgettext -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
translate: locale/circuitpython.pot
for po in $(shell ls locale/*.po); do msgmerge -U $$po -s --no-fuzzy-matching --add-location=file locale/circuitpython.pot; done