Correct filename for optipng compression

This commit is contained in:
Stuart Hayhurst 2020-10-19 16:56:51 +01:00 committed by GitHub
parent 6d1580cd00
commit 7fce22d9fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ while read -r i; do
"--export-dpi=$EXPORT_DPI" \ "--export-dpi=$EXPORT_DPI" \
"--export-id-only" \ "--export-id-only" \
"--export-filename=$ASSETS_DIR/$i.png" "$SRC_FILE" >/dev/null "--export-filename=$ASSETS_DIR/$i.png" "$SRC_FILE" >/dev/null
$OPTIPNG -o7 --quiet "$ASSETS_DIR/$1.png" $OPTIPNG -o7 --quiet "$ASSETS_DIR/$i.png"
fi fi
done < "$INDEX" done < "$INDEX"