From 5d0d14305e245d92fb4a83009e5735617db0f545 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 04 2011 15:59:28 +0000 Subject: Fix the invocation of cli_printMessage function inside `prepare' functionality files. --- diff --git a/Scripts/Functions/Prepare/prepare_doEnvironment.sh b/Scripts/Functions/Prepare/prepare_doEnvironment.sh index 2480652..79952da 100755 --- a/Scripts/Functions/Prepare/prepare_doEnvironment.sh +++ b/Scripts/Functions/Prepare/prepare_doEnvironment.sh @@ -31,7 +31,7 @@ function prepare_doEnvironment { fi # Print action message. - cli_printMessage "`gettext "Checking environment variables"`" 'AsBannerLine' + cli_printMessage "`gettext "Checking environment variables"`" --as-banner-line local -a VARS local -a INFO @@ -62,7 +62,7 @@ function prepare_doEnvironment { # expansion (what a beautiful feature!) to output variable # value. cli_printMessage "${INFO[$COUNT]}:" - cli_printMessage "${VARS[$COUNT]}=${!VARS[$COUNT]}" 'AsResponseLine' + cli_printMessage "${VARS[$COUNT]}=${!VARS[$COUNT]}" --as-response-line fi diff --git a/Scripts/Functions/Prepare/prepare_doLinks.sh b/Scripts/Functions/Prepare/prepare_doLinks.sh index f0d8a82..862cd97 100755 --- a/Scripts/Functions/Prepare/prepare_doLinks.sh +++ b/Scripts/Functions/Prepare/prepare_doLinks.sh @@ -115,9 +115,9 @@ function prepare_doLinks { # Print action message. if [[ -a ${LINKS_SRC[$COUNT]} ]];then - cli_printMessage "${LINKS_SRC[$COUNT]}" 'AsUpdatingLine' + cli_printMessage "${LINKS_SRC[$COUNT]}" --as-updating-line else - cli_printMessage "${LINKS_SRC[$COUNT]}" 'AsCreatingLine' + cli_printMessage "${LINKS_SRC[$COUNT]}" --as-creating-line fi # Create symbolic link parent directory if it doesn't exist.