diff --git a/build/image-optimization.sh b/build/image-optimization.sh index cf82e120dcdaa039fee3a235109959576cd5ebcc..a1be5d22ce1f5c469790be4e2c651fe1045f7fa0 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 */`;