summaryrefslogtreecommitdiffstats
path: root/build/image-optimization.sh
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2019-01-08 17:03:33 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2019-01-08 17:03:33 +0100
commit1799d0fd118d8651e9f01c24c8b48d7b6aa06ed4 (patch)
tree5240efde44ea09bd24464d478582fa53522b9f6d /build/image-optimization.sh
parentb35db6c784d236e1ba0da0dffccef3291df3bb19 (diff)
downloadnextcloud-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-xbuild/image-optimization.sh2
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 */`;