From c77dca8c68d55ccea5756e336f8b43f13ec1c6e7 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 28 Mar 2021 20:15:29 +0200 Subject: Fix build output to use currentColor --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 @@ #!/bin/bash handle () { - scour -i "$1" -o "output${1#"src/icons"}" \ + scour -i "$1" \ --enable-viewboxing \ --enable-id-stripping \ --enable-comment-stripping \ --remove-descriptive-elements \ --strip-xml-prolog \ - --shorten-ids + --shorten-ids | sed -z 's/\(fill\|stroke\)="#.\{3,6\}"/\1="currentColor"/g' > "output${1#"src/icons"}" } export -f handle -- cgit v1.2.3-70-g09d2