From ca84d5baf1920024e1d9c8b161464529618b6121 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 27 2013 02:32:47 +0000 Subject: Update prepare_setRenderEnvironment.sh file. - Previously, when the list of configuration files is built, it didn't take into consideration that configuration files are symbolic links instead of regular files. This make the list of files to be empty. This update changes prepare_setRenderEnvironment to specify that configuration files are symbolic links, not regular files. --- diff --git a/tcar-scripts-prepare/prepare_setRenderEnvironment.sh b/tcar-scripts-prepare/prepare_setRenderEnvironment.sh index 0746f83..64b8102 100755 --- a/tcar-scripts-prepare/prepare_setRenderEnvironment.sh +++ b/tcar-scripts-prepare/prepare_setRenderEnvironment.sh @@ -100,9 +100,9 @@ function prepare_setRenderEnvironment { # Define the list of configuration files the render module # will use as reference to produce documentation. At this # point it is very difficult that DIRECTORY doesn't exist or - # be outside the repository directory structure. + # be outside the workplace directory structure. CONFIGURATION_FILES[++${#CONFIGURATION_FILES[*]}]=$(tcar_getFilesList \ - -p '.+\.conf$' -t 'f' ${DIRECTORY} \ + -p '.+\.conf$' -t 'l' ${DIRECTORY} \ | xargs egrep ${CONFIGURATION_PATTERN} | cut -d: -f1 | sort | uniq) done