From: Mike Taylor Date: Mon, 15 Dec 2014 15:57:10 +0000 (+0000) Subject: Use for i in */xml do...done instead of xargs. X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=b85cb52182d0ae5dc0fc1a3c805a518704c08df9 Use for i in */xml do...done instead of xargs. For some reason, it seems to make tidy happy. --- diff --git a/zebra/Makefile b/zebra/Makefile index 2999337..2e913c8 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -45,8 +45,7 @@ dump: -test -e records-${DATE} && mv records-${DATE} records-${DATE}.old mkdir records-${DATE} cd records-${DATE} && ../../bin/irspy-dump.pl ${IRSPY_DATABASE} - cd records-${DATE}; find . -name '*.xml' -print0 | \ - xargs -n1 -0 -P4 tidy -xml -i -m -w 140 -quiet + cd records-${DATE}; for i in *.xml; do tidy -xml -i -m -w 140 -quiet $i; done tar cf - records-${DATE} | gzip > records-${DATE}.tar.gz clean: