From 02dad810cc1bfa84fcefd8229affe1b2240a92db Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Dec 27 2013 01:19:36 +0000 Subject: Update prepare_setRenderEnvironment.sh file. - Previously, prepare_setRenderEnvironment function was using tcar_checkRepoDirSource to verify the absolute path of the directory used as source location of configuration files. tcar_checkRepoDirSource uses the installed repository as source location which make any directory verification in the workplace to fail through it. This update changes the function name from tcar_checkRepoDirSource to tcar_checkWorkDirSource so the source location of verification does be the workplace not the installed repository. --- diff --git a/tcar-scripts-prepare/prepare_setRenderEnvironment.sh b/tcar-scripts-prepare/prepare_setRenderEnvironment.sh index 1542475..6f78bc6 100755 --- a/tcar-scripts-prepare/prepare_setRenderEnvironment.sh +++ b/tcar-scripts-prepare/prepare_setRenderEnvironment.sh @@ -90,10 +90,9 @@ function prepare_setRenderEnvironment { for DIRECTORY in ${@};do - # Clean-up the search path. This location must point a - # directory inside the repository. References to directories - # outside the repository are not supported. - DIRECTORY=$(tcar_checkRepoDirSource ${DIRECTORY}) + # Clean-up the search path. This location must point to a + # directory inside the workplace. + DIRECTORY=$(tcar_checkWorkDirSource ${DIRECTORY}) # Verify the search path. It must exist and being a directory. tcar_checkFiles -ed ${DIRECTORY}