summaryrefslogtreecommitdiff
path: root/functions/echo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/echo.sh')
-rwxr-xr-xfunctions/echo.sh20
1 files changed, 15 insertions, 5 deletions
diff --git a/functions/echo.sh b/functions/echo.sh
index 71800ade1..f28879c61 100755
--- a/functions/echo.sh
+++ b/functions/echo.sh
@@ -11,34 +11,44 @@ set -e
Echo_debug ()
{
+ STRING="${1}"
+
if [ "${LH_DEBUG}" = "enabled" ]
then
- echo "D: ${@}"
+ echo "D: ${STRING}"
fi
}
Echo_error ()
{
- echo "E: ${@}"
+ STRING="${1}"
+
+ echo "E: ${STRING}"
}
Echo_message ()
{
+ STRING="${1}"
+
if [ "${LH_QUIET}" != "enabled" ]
then
- echo "P: ${@}"
+ echo "P: ${STRING}"
fi
}
Echo_verbose ()
{
+ STRING="${1}"
+
if [ "${LH_VERBOSE}" = "enabled" ]
then
- echo "I: ${@}"
+ echo "I: ${STRING}"
fi
}
Echo_warning ()
{
- echo "W: ${@}"
+ STRING="${1}"
+
+ echo "W: ${STRING}"
}