projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b85c2
)
faster check
author
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 3 Sep 2013 10:02:45 +0000
(10:02 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 3 Sep 2013 10:02:45 +0000
(10:02 +0000)
zebra/Makefile
patch
|
blob
|
history
diff --git
a/zebra/Makefile
b/zebra/Makefile
index
2c16619
..
dab1639
100644
(file)
--- a/
zebra/Makefile
+++ b/
zebra/Makefile
@@
-46,7
+46,8
@@
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} && ( for i in *.xml; do tidy -xml -i -m -w 140 $$i; done ) > /dev/null 2>&1
+ cd records-${DATE}; find . -name '*.xml' -print0 | \
+ xargs -n1 -0 -P4 tidy -xml -i -m -w 140 > /dev/null 2>&1
tar cf - records-${DATE} | gzip > records-${DATE}.tar.gz
clean: