diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-01-08 17:03:33 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2019-01-08 17:03:33 +0100 |
commit | 1799d0fd118d8651e9f01c24c8b48d7b6aa06ed4 (patch) | |
tree | 5240efde44ea09bd24464d478582fa53522b9f6d /build/image-optimization.sh | |
parent | b35db6c784d236e1ba0da0dffccef3291df3bb19 (diff) | |
download | nextcloud-server-1799d0fd118d8651e9f01c24c8b48d7b6aa06ed4.tar.gz nextcloud-server-1799d0fd118d8651e9f01c24c8b48d7b6aa06ed4.zip |
Switch around syntax of scour command for SVG image optimization
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'build/image-optimization.sh')
-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 */`; |