diff --git a/Automation/Modules/Render/Modules/Files/Modules/Images/images.sh b/Automation/Modules/Render/Modules/Files/Modules/Images/images.sh index f41839a..2ef06cd 100755 --- a/Automation/Modules/Render/Modules/Files/Modules/Images/images.sh +++ b/Automation/Modules/Render/Modules/Files/Modules/Images/images.sh @@ -31,7 +31,7 @@ function images { - tcar_checkFiles -i "image" ${SOURCE[*]} + tcar_checkFiles -i "image" ${SOURCES[*]} COMMAND=$(tcar_getConfigValue "${CONFIGURATION}" "${SECTION}" "command") if [[ -z ${COMMAND} ]];then diff --git a/Automation/Modules/Render/Modules/Files/Modules/Palette/palette.sh b/Automation/Modules/Render/Modules/Files/Modules/Palette/palette.sh index 67fbb2d..49a6c65 100755 --- a/Automation/Modules/Render/Modules/Files/Modules/Palette/palette.sh +++ b/Automation/Modules/Render/Modules/Files/Modules/Palette/palette.sh @@ -37,6 +37,7 @@ function palette { # taken to set the max number of colors the final image will be # produced for. local PALETTE_GPL=$(dirname ${CONFIGURATION})/$(tcar_getConfigValue ${CONFIGURATION} ${SECTION} 'palette-gpl') + tcar_checkFiles -ef ${PALETTE_GPL} local PALETTE_GPL_COLORS=$(palette_getColors "${PALETTE_GPL}") @@ -54,7 +55,7 @@ function palette { # base-rendition output. The PNM image is an intermediate format # used to manipulate images through Netpbm tools. pngtopnm -verbose \ - < ${SOURCE[0]} 2>${LOGS} > ${FILENAME}.pnm + < ${SOURCES[0]} 2>${LOGS} > ${FILENAME}.pnm # Create PPM palette using GPL palette. palette_convertGplToPpm