From cf73d64756f5f8f07279e1a3294eb03a209d8cde Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 09 2013 19:58:58 +0000 Subject: Update tcar_checkModuleName.sh file. - Rename variable name from MODULE_NAME_LISTS to TCAR_MODULE_LIST. These variables remain local to tcar_checkModuleName function. --- diff --git a/Automation/Scripts/tcar_checkModuleName.sh b/Automation/Scripts/tcar_checkModuleName.sh index 79267f9..c93a7d3 100755 --- a/Automation/Scripts/tcar_checkModuleName.sh +++ b/Automation/Scripts/tcar_checkModuleName.sh @@ -2,7 +2,7 @@ ###################################################################### # # tcar_checkModuleName.sh -- This function uses the module's based -# directory to verify whether sub-modules and sib-modules exist or +# directory to verify whether child and sibling modules do exist or # not. # # Written by: @@ -28,11 +28,11 @@ function tcar_checkModuleName { - local MODULE_NAME_LISTS=$(ls ${TCAR_MODULE_BASEDIR} | tr '\n' '|' \ + local TCAR_MODULE_LIST=$(ls ${TCAR_MODULE_BASEDIR} | tr '\n' '|' \ | sed -r 's/\|$//' | tr '[[:upper:]]' '[[:lower:]]') - tcar_checkFiles -m "^(${MODULE_NAME_LISTS})$" "${TCAR_MODULE_NAME}" + tcar_checkFiles -m "^(${TCAR_MODULE_LIST})$" "${TCAR_MODULE_NAME}" - tcar_printMessage "MODULE_NAME_LISTS : ${MODULE_NAME_LISTS}" --as-debugger-line + tcar_printMessage "TCAR_MODULE_LIST : ${TCAR_MODULE_LIST}" --as-debugger-line }