From b35e461918c6ddaead44258897f88e3095e5d4fc Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 31 2013 06:49:04 +0000 Subject: Update render module of centos-art.sh script. - Previously, when rendering content through extended processing, final images were store directly inside Final directory. This was because RENDER_TARGET variable wasn't re-defined in extended_setBaseRendition function. This update changes extended_setBaseRendition function to re-define RENDER_TARGET variable which fix the issue. --- diff --git a/Automation/Modules/Render/Modules/Files/Modules/Svg/Modules/Extended/extended_setBaseRendition.sh b/Automation/Modules/Render/Modules/Files/Modules/Svg/Modules/Extended/extended_setBaseRendition.sh index b6cc8cb..b471d0b 100755 --- a/Automation/Modules/Render/Modules/Files/Modules/Svg/Modules/Extended/extended_setBaseRendition.sh +++ b/Automation/Modules/Render/Modules/Files/Modules/Svg/Modules/Extended/extended_setBaseRendition.sh @@ -28,11 +28,13 @@ function extended_setBaseRendition { + local RENDER_TARGET=$(dirname ${RENDER_TARGET})/${FGCOLOR}/${BGCOLOR}/${HEIGHT}/$(basename ${RENDER_TARGET}) + svg_setBaseRendition # Create path for different image formats creation using PNG image # extension as reference. - local RENDER_TARGET=$(echo ${RENDER_TARGET} | sed -r "s/\.png$//") + RENDER_TARGET=$(echo ${RENDER_TARGET} | sed -r "s/\.png$//") # Convert images from PNG to those formats specified in the # configuration file.