diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-01-08 18:48:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 18:48:59 +0100 |
commit | c3e2a68b58e511e614f780d803faa3864bd0425b (patch) | |
tree | 5240efde44ea09bd24464d478582fa53522b9f6d | |
parent | b35db6c784d236e1ba0da0dffccef3291df3bb19 (diff) | |
parent | 1799d0fd118d8651e9f01c24c8b48d7b6aa06ed4 (diff) | |
download | nextcloud-server-c3e2a68b58e511e614f780d803faa3864bd0425b.tar.gz nextcloud-server-c3e2a68b58e511e614f780d803faa3864bd0425b.zip |
Merge pull request #13429 from nextcloud/optimization-syntax
Switch around syntax of scour command for SVG image optimization
-rwxr-xr-x | build/image-optimization.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/image-optimization.sh b/build/image-optimization.sh index cf82e120dcd..a1be5d22ce1 100755 --- a/build/image-optimization.sh +++ b/build/image-optimization.sh @@ -7,7 +7,7 @@ jpegoptim --strip-all *.jpg; for svg in `ls *.svg`; do mv $svg $svg.opttmp; - scour -i $svg.opttmp -o $svg --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks; + scour --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks -i $svg.opttmp -o $svg; done; rm *.opttmp for dir in `ls -d */`; |