From b85cb52182d0ae5dc0fc1a3c805a518704c08df9 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 15 Dec 2014 15:57:10 +0000 Subject: [PATCH] Use for i in */xml do...done instead of xargs. For some reason, it seems to make tidy happy. --- zebra/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: -- 1.7.10.4