From c141636b15b9b9548eedb38bd829000a1c05d22d Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 20 2013 17:51:40 +0000 Subject: Update render module of centos-art.sh script. - Previously, it was not possible to use symbolic links to connect the render.conf file inside theme motifs to render.conf.tpl files inside theme modules. This update changes the render.sh file to permit render.conf files as symbolic links. --- diff --git a/Automation/Modules/Render/render.sh b/Automation/Modules/Render/render.sh index 206c8e5..88c2c24 100755 --- a/Automation/Modules/Render/render.sh +++ b/Automation/Modules/Render/render.sh @@ -43,7 +43,7 @@ function render { local CONFIGURATIONS=${ARGUMENT} if [[ -d ${ARGUMENT} ]];then CONFIGURATIONS=$(tcar_getFilesList ${ARGUMENT} \ - --pattern=".+/.+\.conf$" --type="f") + --pattern=".+/.+\.conf$") fi # Verify non-option arguments passed to centos-art.sh @@ -53,7 +53,7 @@ function render { # meaning. In order to be sure all required directories are # available in the repository it is necessary use the prepare # functionality. - tcar_checkFiles -ef ${CONFIGURATIONS} + tcar_checkFiles -e ${CONFIGURATIONS} # Process each configuration file. for CONFIGURATION in ${CONFIGURATIONS};do