| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function render_getDirTemplate { |
| |
| |
| |
| TEMPLATE=$ACTIONVAL |
| |
| |
| |
| |
| |
| |
| TEMPLATE=$(echo "$TEMPLATE" | sed "s!/branches/!/trunk/!") |
| |
| |
| if [[ -d ${TEMPLATE}/Tpl ]];then |
| TEMPLATE=${TEMPLATE}/Tpl |
| else |
| TEMPLATE=$(echo "$TEMPLATE" \ |
| | sed -r "s!$(cli_getPathComponent $TEMPLATE '--theme-pattern')!Identity/Themes/Models/${FLAG_THEME_MODEL}/!") |
| fi |
| |
| |
| |
| TEMPLATE=$(echo "$TEMPLATE" | sed "s!/Images!/Models!") |
| |
| } |