diff --git a/Scripts/Bash/Functions/Prepare/prepare_updateImages.sh b/Scripts/Bash/Functions/Prepare/prepare_updateImages.sh index aca2c87..5edefae 100755 --- a/Scripts/Bash/Functions/Prepare/prepare_updateImages.sh +++ b/Scripts/Bash/Functions/Prepare/prepare_updateImages.sh @@ -30,16 +30,19 @@ function prepare_updateImages { # Define list of directories that need to be rendered. local DIRS=$(cli_getFilesList \ - ${CLI_WRKCOPY}/trunk/Identity/Images --maxdepth="1" \ + ${TCAR_WORKDIR}/trunk/Identity/Images --maxdepth="1" \ --mindepth="1" --type="d" --pattern=".+/[[:alnum:]]+$") # Execute the render functionality of centos-art.sh script to - # produce directories inside the list one by one. Producing - # directories one by one is important because themes directory is - # produced differently compared to others directories. This way, - # when we create a list of directories and pass them that way to - # centos-art.sh script, it is possible for ir to know how to - # produce each directory passed. - ${CLI_BASEDIR}/${CLI_NAME}.sh render $DIRS --dont-commit-changes + # produce images inside each directory. Using directories one by + # one to render images is important because themes directories are + # produced in a different way compared to others image + # directories. Thus, if we pass the list of directories to + # centos-art.sh script, it is possible for it to know how to + # produce each specific directory passed correctly. As default, in + # the image preparation process, all images that need to hold + # branding information will be rendered using The CentOS Brand in + # it. + ${CLI_BASEDIR}/${CLI_NAME}.sh render $DIRS --dont-commit-changes --with-brands }