summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-14 20:25:29 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:39 +0100
commitfe8484f3cd11620e793dba71425abcb3cde9757e (patch)
treebef4a5ae335192ceeac6adc99208d1175b8c9457
parent2bec7369f103c0b868747940a6c9d502413ddcae (diff)
downloadlive-build-fe8484f3cd11620e793dba71425abcb3cde9757e.zip
live-build-fe8484f3cd11620e793dba71425abcb3cde9757e.tar.gz
Adding generic echo function.
-rwxr-xr-xfunctions/echo.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions/echo.sh b/functions/echo.sh
index d865ddb..c5ec7e5 100755
--- a/functions/echo.sh
+++ b/functions/echo.sh
@@ -9,6 +9,14 @@
set -e
+Echo ()
+{
+ STRING="${1}"
+ shift
+
+ printf "$(eval_gettext "${STRING}")" "${@}"; echo;
+}
+
Echo_debug ()
{
STRING="${1}"