| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function render { |
| |
| |
| render_getOptions "${@}" |
| |
| |
| |
| |
| eval set -- "${TCAR_ARGUMENTS}" |
| |
| |
| |
| for ARGUMENT in "$@";do |
| |
| |
| |
| |
| ARGUMENT=$(tcar_checkRepoDirSource ${ARGUMENT}) |
| |
| |
| if [[ -d ${ARGUMENT} ]];then |
| CONFIGURATIONS=$(tcar_getFilesList ${ARGUMENT} \ |
| --pattern=".+/.+\.conf$" --type="f") |
| else |
| CONFIGURATIONS=${ARGUMENT} |
| fi |
| |
| |
| |
| |
| |
| |
| |
| |
| tcar_checkFiles -ef ${CONFIGURATIONS} |
| |
| |
| for CONFIGURATION in ${CONFIGURATIONS};do |
| render_setRenderType "${@}" |
| done |
| |
| done |
| |
| } |