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

View File

@ -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"