From 42e245807f9bb2523ff5dcee5102512538c4a9d4 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 06 2011 02:36:02 +0000 Subject: Update Locale/locale_updateMessageXml.sh. Start using cli_getFilesList@2552. --- diff --git a/Scripts/Functions/Locale/locale_updateMessageXml.sh b/Scripts/Functions/Locale/locale_updateMessageXml.sh index 15c19af..ca902f9 100755 --- a/Scripts/Functions/Locale/locale_updateMessageXml.sh +++ b/Scripts/Functions/Locale/locale_updateMessageXml.sh @@ -42,8 +42,8 @@ function locale_updateMessageXml { local EXTENSION='(svg|xml|xhtml|docbook)' # Build list of files to process. - if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/Identity/(Models|Manual|Themes/Models)/.+$" ]];then - FILES=$(cli_getFilesList "$ACTIONVAL" "${FLAG_FILTER}.*\.${EXTENSION}") + if [[ $ACTIONVAL =~ "^$(cli_getRepoTLDir)/Identity/Models/.+$" ]];then + FILES=$(cli_getFilesList $ACTIONVAL --pattern="${FLAG_FILTER}.*\.${EXTENSION}") else cli_printMessage "`gettext "The path provided cannot be processed."`" --as-error-line fi