| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function directories { |
| |
| local FILES='' |
| |
| |
| |
| |
| local DIRECTORY=$(tcar_checkRepoDirSource ${1}) |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| local LOCALE_SUPPORTED_FILES='.+/.+\.(svgz|svg)$' |
| |
| |
| |
| if [[ ${LOCALE_FLAG_RECURSIVE} == 'true' ]];then |
| FILES=$(tcar_getFilesList ${DIRECTORY} \ |
| --type=f --pattern="${LOCALE_SUPPORTED_FILES}" \ |
| | egrep "${TCAR_FLAG_FILTER}") |
| else |
| FILES=$(tcar_getFilesList ${DIRECTORY} \ |
| --mindepth=1 --maxdepth=1 --type=f \ |
| --pattern="${LOCALE_SUPPORTED_FILES}" \ |
| | egrep "${TCAR_FLAG_FILTER}") |
| fi |
| |
| |
| |
| tcar_checkFiles -ef ${FILES} |
| |
| |
| for FILE in ${FILES};do |
| tcar_setModuleEnvironment -m 'files' -t 'sibling' -g ${FILE} |
| done |
| |
| } |