diff --git a/Scripts/Bash/Functions/Render/render_doBaseActions.sh b/Scripts/Bash/Functions/Render/render_doBaseActions.sh index 44a5d3f..c25911b 100755 --- a/Scripts/Bash/Functions/Render/render_doBaseActions.sh +++ b/Scripts/Bash/Functions/Render/render_doBaseActions.sh @@ -127,9 +127,10 @@ function render_doBaseActions { else - # For all other cases, build a list of files to process. + # For all other cases, build a list of files to process + # using the path value pass as argument. for FILE in $(cli_getFilesList ${TEMPLATE} \ - --pattern="^.*${FLAG_FILTER}\.${RENDER_EXTENSION}$" \ + --pattern="^/.*${FLAG_FILTER}\.${RENDER_EXTENSION}$" \ --type="f");do FILES[((++${#FILES[*]}))]=$FILE done