From d26634ab7d9d3b020ff552aa099ea4467f2e47bd Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 19 2011 20:27:06 +0000 Subject: Update `svg' functionality. --- diff --git a/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh b/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh index 971b0c1..ab39f03 100755 --- a/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh +++ b/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh @@ -146,13 +146,11 @@ function svg_updateMetadata { done - # Redefine filter flag to specify the extension of scalable vector - # graphics files we want to update metadata in. Use action value - # as reference to find out different shell files. - FLAG_FILTER=".*${FLAG_FILTER}.*\.(svgz|svg)" - # Build list of files to process. - cli_getFilesList + FILES=$(cli_getFilesList "$ACTIONVAL" "${FLAG_FILTER}.*\.(svgz|svg)") + + # Set action preamble. + cli_printActionPreamble "${FILES}" # Process list of scalable vector graphics. for FILE in $FILES;do diff --git a/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh b/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh index 5de56e6..8c42754 100755 --- a/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh +++ b/Scripts/Bash/Functions/Svg/svg_vacuumDefs.sh @@ -29,13 +29,11 @@ function svg_vacuumDefs { local FILE='' local FILES='' - # Redefine filter flag to specify the extension of scalable vector - # graphics files we want to update metadata in. Use action value - # as reference to find out different shell files. - FLAG_FILTER=".*${FLAG_FILTER}.*\.(svgz|svg)" - # Build list of files to process. - cli_getFilesList + FILES=$(cli_getFilesList "${ACTIONVAL}" "${FLAG_FILTER}.*\.(svgz|svg)") + + # Set action preamble. + cli_printActionPreamble "${FILES}" # Process list of files. for FILE in $FILES;do