From 46720825ab7047f41260be48bd9e0fbd7a148792 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Mar 05 2011 19:41:13 +0000 Subject: Update script files to make clear that cli_printActionPreamble uses three arguments from which the first to are required to pass. Otherwise, when producing content massively, the centos-art script could get confuessed about the arguments passed and considered some path as second and third argument when we really dont want to pass arguments at all. --- diff --git a/Scripts/Bash/Cli/Functions/Html/html_updateHeadings.sh b/Scripts/Bash/Cli/Functions/Html/html_updateHeadings.sh index 8f47bff..b66e363 100644 --- a/Scripts/Bash/Cli/Functions/Html/html_updateHeadings.sh +++ b/Scripts/Bash/Cli/Functions/Html/html_updateHeadings.sh @@ -63,7 +63,7 @@ function html_updateHeadings { FILES=$(cli_getFilesList "$ACTIONVAL" "${FLAG_FILTER}.*\.(xhtml|html|htm)") # Set action preamble. - cli_printActionPreamble "${FILES}" + cli_printActionPreamble "${FILES}" '' '' # Process list of files. for FILE in $FILES;do diff --git a/Scripts/Bash/Cli/Functions/Identity/identity_renderBase.sh b/Scripts/Bash/Cli/Functions/Identity/identity_renderBase.sh index aeb7f53..46c1af2 100755 --- a/Scripts/Bash/Cli/Functions/Identity/identity_renderBase.sh +++ b/Scripts/Bash/Cli/Functions/Identity/identity_renderBase.sh @@ -64,7 +64,7 @@ function identity_renderBase { done # Set action preamble. - cli_printActionPreamble "${FILES[@]}" + cli_printActionPreamble "${FILES[@]}" '' '' # Reset common directory counter. COUNT=0 diff --git a/Scripts/Bash/Cli/Functions/Manual/manual_copyEntry.sh b/Scripts/Bash/Cli/Functions/Manual/manual_copyEntry.sh index d7e9c68..a8ba6d1 100755 --- a/Scripts/Bash/Cli/Functions/Manual/manual_copyEntry.sh +++ b/Scripts/Bash/Cli/Functions/Manual/manual_copyEntry.sh @@ -53,7 +53,7 @@ function manual_copyEntry { ENTRIES=$(cli_getFilesList "$(dirname ${ENTRY_DST})" "$(basename ${ENTRY_DST}).*\.texi") # Set action preamble. - cli_printActionPreamble "${ENTRIES}" + cli_printActionPreamble "${ENTRIES}" '' '' # Print separator line. cli_printMessage '-' 'AsSeparatorLine' diff --git a/Scripts/Bash/Cli/Functions/Manual/manual_deleteCrossReferences.sh b/Scripts/Bash/Cli/Functions/Manual/manual_deleteCrossReferences.sh index 4bfe876..d7b9c68 100755 --- a/Scripts/Bash/Cli/Functions/Manual/manual_deleteCrossReferences.sh +++ b/Scripts/Bash/Cli/Functions/Manual/manual_deleteCrossReferences.sh @@ -72,7 +72,7 @@ function manual_deleteCrossReferences { local ENTRIES=$(cli_getFilesList "${MANUAL_BASEDIR}" '.*\.texi') # Set action preamble. - cli_printActionPreamble "$ENTRIES" + cli_printActionPreamble "$ENTRIES" '' '' # Update node-related cross references. The node-related cross # reference definition, long ones specially, could require more diff --git a/Scripts/Bash/Cli/Functions/Manual/manual_getActions.sh b/Scripts/Bash/Cli/Functions/Manual/manual_getActions.sh index 4d3a628..4173a5c 100755 --- a/Scripts/Bash/Cli/Functions/Manual/manual_getActions.sh +++ b/Scripts/Bash/Cli/Functions/Manual/manual_getActions.sh @@ -138,7 +138,7 @@ function manual_getActions { MANUAL_BASEFILE="${MANUAL_BASEDIR}/${MANUAL_NAME}" # Set action preable. - cli_printActionPreamble "${MANUAL_BASEFILE}.texi" + cli_printActionPreamble "${MANUAL_BASEFILE}.texi" '' '' # Syncronize changes between the working copy and the central # repository to bring down changes. diff --git a/Scripts/Bash/Cli/Functions/Manual/manual_renameCrossReferences.sh b/Scripts/Bash/Cli/Functions/Manual/manual_renameCrossReferences.sh index 9277e30..91fb866 100755 --- a/Scripts/Bash/Cli/Functions/Manual/manual_renameCrossReferences.sh +++ b/Scripts/Bash/Cli/Functions/Manual/manual_renameCrossReferences.sh @@ -67,7 +67,7 @@ function manual_renameCrossReferences { ENTRIES=$(cli_getFilesList "${MANUAL_BASEDIR}" '.*\.texi') # Set action preamble. - cli_printActionPreamble "$ENTRIES" + cli_printActionPreamble "$ENTRIES" '' '' # Update node-related cross-references. The node-related cross # reference definition, long ones specially, could require more diff --git a/Scripts/Bash/Cli/Functions/Manual/manual_restoreCrossReferences.sh b/Scripts/Bash/Cli/Functions/Manual/manual_restoreCrossReferences.sh index 60a1105..c64ccc6 100755 --- a/Scripts/Bash/Cli/Functions/Manual/manual_restoreCrossReferences.sh +++ b/Scripts/Bash/Cli/Functions/Manual/manual_restoreCrossReferences.sh @@ -69,7 +69,7 @@ function manual_restoreCrossReferences { local ENTRIES=$(cli_getFilesList "${MANUAL_BASEDIR}" '.*\.texi') # Set action preamble. - cli_printActionPreamble "$ENTRIES" + cli_printActionPreamble "$ENTRIES" '' '' # Update node-related cross references. The node-related cross # reference definition, long ones specially, could require more diff --git a/Scripts/Bash/Cli/Functions/Shell/shell_updateCopyright.sh b/Scripts/Bash/Cli/Functions/Shell/shell_updateCopyright.sh index 2d77ac4..42bbae1 100755 --- a/Scripts/Bash/Cli/Functions/Shell/shell_updateCopyright.sh +++ b/Scripts/Bash/Cli/Functions/Shell/shell_updateCopyright.sh @@ -122,7 +122,7 @@ function shell_updateCopyright { FILES=$(cli_getFilesList "$ACTIONVAL" "${FLAG_FILTER}.*\.sh") # Set action preamble. - cli_printActionPreamble "${FILES}" + cli_printActionPreamble "${FILES}" '' '' # Process list of files. for FILE in $FILES;do diff --git a/Scripts/Bash/Cli/Functions/Svg/svg_updateMetadata.sh b/Scripts/Bash/Cli/Functions/Svg/svg_updateMetadata.sh index 2dcea67..502b6c1 100755 --- a/Scripts/Bash/Cli/Functions/Svg/svg_updateMetadata.sh +++ b/Scripts/Bash/Cli/Functions/Svg/svg_updateMetadata.sh @@ -150,7 +150,7 @@ function svg_updateMetadata { FILES=$(cli_getFilesList "$ACTIONVAL" "${FLAG_FILTER}.*\.(svgz|svg)") # Set action preamble. - cli_printActionPreamble "${FILES}" + cli_printActionPreamble "${FILES}" '' '' # Process list of scalable vector graphics. for FILE in $FILES;do diff --git a/Scripts/Bash/Cli/Functions/Svg/svg_vacuumDefs.sh b/Scripts/Bash/Cli/Functions/Svg/svg_vacuumDefs.sh index 8c42754..d69f438 100755 --- a/Scripts/Bash/Cli/Functions/Svg/svg_vacuumDefs.sh +++ b/Scripts/Bash/Cli/Functions/Svg/svg_vacuumDefs.sh @@ -33,7 +33,7 @@ function svg_vacuumDefs { FILES=$(cli_getFilesList "${ACTIONVAL}" "${FLAG_FILTER}.*\.(svgz|svg)") # Set action preamble. - cli_printActionPreamble "${FILES}" + cli_printActionPreamble "${FILES}" '' '' # Process list of files. for FILE in $FILES;do