Commit 9d488162 authored by Booloki's avatar Booloki

Fix slashes in MERGE_COVER

parent 8de6a3e8
Pipeline #76 failed with stage
in 19 seconds
......@@ -1078,7 +1078,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
debug "COVER_HEIGHT ${COVER_HEIGHT}"
debug "COVER_WIDTH ${COVER_WIDTH}"
cover_art_convert
MERGE_COVER="--attachment-description \"cover-art\" --attachment-mime-type image/${COVER_FORMAT} --attach-file ${COVER_OUTPUT_SIMPLE} --attachment-description \"cover-thumbnail\" --attachment-mime-type image/jpeg --attach-file ${COVER_OUTPUT_THUMB}"
MERGE_COVER="--attachment-description \"cover-art\" --attachment-mime-type image\/${COVER_FORMAT} --attach-file ${COVER_OUTPUT_SIMPLE} --attachment-description \"cover-thumbnail\" --attachment-mime-type image\/jpeg --attach-file ${COVER_OUTPUT_THUMB}"
else
if [[ "${COVER_FORMAT_TEST}" == "PNG" ]]; then
COVER_FORMAT="png"
......@@ -1087,8 +1087,7 @@ time for TITLE_NUMBER in ${TITLE_LIST}; do
debug "COVER_HEIGHT ${COVER_HEIGHT}"
debug "COVER_WIDTH ${COVER_WIDTH}"
cover_art_convert
# shellcheck disable=SC2089
MERGE_COVER="--attachment-description \"cover-art\" --attachment-mime-type image/${COVER_FORMAT} --attach-file ${COVER_OUTPUT_SIMPLE} --attachment-description \"cover-thumbnail\" --attachment-mime-type image/jpeg --attach-file ${COVER_OUTPUT_THUMB}"
MERGE_COVER="--attachment-description \"cover-art\" --attachment-mime-type image\/${COVER_FORMAT} --attach-file ${COVER_OUTPUT_SIMPLE} --attachment-description \"cover-thumbnail\" --attachment-mime-type image\/jpeg --attach-file ${COVER_OUTPUT_THUMB}"
else
MESSAGE="${COVER} image file format"
not_recognized_exit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment