From e74f5d5d7695ec49bd489dedd35daf2a90c2da21 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Tue, 14 May 2019 10:42:52 -0700 Subject: [PATCH] Have xargs expect null termination --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 71d6ff7714..5d5d99fb8a 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