diff options
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-x | scripts/build.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 2f5fd79..637c334 100755 --- a/scripts/build.sh +++ b/scripts/build.sh | |||
@@ -6,15 +6,14 @@ handle () { | |||
6 | --enable-id-stripping \ | 6 | --enable-id-stripping \ |
7 | --enable-comment-stripping \ | 7 | --enable-comment-stripping \ |
8 | --remove-descriptive-elements \ | 8 | --remove-descriptive-elements \ |
9 | --strip-xml-prolog \ | ||
9 | --shorten-ids | 10 | --shorten-ids |
10 | } | 11 | } |
12 | export -f handle | ||
11 | 13 | ||
12 | mkdir -p output | 14 | mkdir -p output |
13 | 15 | ||
14 | find "src" \ | 16 | find "src" \ |
15 | -type f \ | 17 | -type f \ |
16 | -name "*.svg" \ | 18 | -name "*.svg" \ |
17 | | while read file_in | 19 | -print0 | parallel -0 handle {} |
18 | do | ||
19 | handle "$file_in" | ||
20 | done | ||