summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 62822a3..63dbff2 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -1,13 +1,13 @@
1#!/bin/bash 1#!/bin/bash
2 2
3handle () { 3handle () {
4 scour -i "$1" -o "output${1#"src/icons"}" \ 4 scour -i "$1" \
5 --enable-viewboxing \ 5 --enable-viewboxing \
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 --strip-xml-prolog \
10 --shorten-ids 10 --shorten-ids | sed -z 's/\(fill\|stroke\)="#.\{3,6\}"/\1="currentColor"/g' > "output${1#"src/icons"}"
11} 11}
12export -f handle 12export -f handle
13 13