5d0d14 Fix the invocation of cli_printMessage function inside `prepare'

Authored and Committed by areguera 13 years ago
    Fix the invocation of cli_printMessage function inside `prepare'
    functionality files.
    
    
        
Scripts/Functions/Prepare/prepare_doEnvironment.sh CHANGED
@@ -31,7 +31,7 @@ function prepare_doEnvironment {
31
31
fi
32
32
33
33
# Print action message.
34
- cli_printMessage "`gettext "Checking environment variables"`" 'AsBannerLine'
34
+ cli_printMessage "`gettext "Checking environment variables"`" --as-banner-line
35
35
36
36
local -a VARS
37
37
local -a INFO
@@ -62,7 +62,7 @@ function prepare_doEnvironment {
62
62
# expansion (what a beautiful feature!) to output variable
63
63
# value.
64
64
cli_printMessage "${INFO[$COUNT]}:"
65
- cli_printMessage "${VARS[$COUNT]}=${!VARS[$COUNT]}" 'AsResponseLine'
65
+ cli_printMessage "${VARS[$COUNT]}=${!VARS[$COUNT]}" --as-response-line
66
66
67
67
fi
68
68
Scripts/Functions/Prepare/prepare_doLinks.sh CHANGED
@@ -115,9 +115,9 @@ function prepare_doLinks {
115
115
116
116
# Print action message.
117
117
if [[ -a ${LINKS_SRC[$COUNT]} ]];then
118
- cli_printMessage "${LINKS_SRC[$COUNT]}" 'AsUpdatingLine'
118
+ cli_printMessage "${LINKS_SRC[$COUNT]}" --as-updating-line
119
119
else
120
- cli_printMessage "${LINKS_SRC[$COUNT]}" 'AsCreatingLine'
120
+ cli_printMessage "${LINKS_SRC[$COUNT]}" --as-creating-line
121
121
fi
122
122
123
123
# Create symbolic link parent directory if it doesn't exist.