summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-05-14 10:42:52 -0700
committerScott Shawcroft <scott@tannewt.org>2019-05-14 10:42:52 -0700
commite74f5d5d7695ec49bd489dedd35daf2a90c2da21 (patch)
tree63927f902898f52943710eaf3ed7bd762e914089 /Makefile
parentbf682d14b33a3bc6b1934391017bcfbcad782e41 (diff)
Have xargs expect null termination
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 71d6ff771..5d5d99fb8 100644
--- a/Makefile
+++ b/Makefile
@@ -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