From 7fce22d9fb89b1a4cd7f574886fd084f5e7fbb8c Mon Sep 17 00:00:00 2001 From: Stuart Hayhurst <33733427+Dragon8oy@users.noreply.github.com> Date: Mon, 19 Oct 2020 16:56:51 +0100 Subject: [PATCH] Correct filename for optipng compression --- assets/render-assets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/render-assets.sh b/assets/render-assets.sh index a0a0191..f103ead 100755 --- a/assets/render-assets.sh +++ b/assets/render-assets.sh @@ -52,7 +52,7 @@ while read -r i; do "--export-dpi=$EXPORT_DPI" \ "--export-id-only" \ "--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 done < "$INDEX"