summaryrefslogtreecommitdiff
path: root/functions
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 /functions
parent2bec7369f103c0b868747940a6c9d502413ddcae (diff)
downloadvyos-live-build-fe8484f3cd11620e793dba71425abcb3cde9757e.tar.gz
vyos-live-build-fe8484f3cd11620e793dba71425abcb3cde9757e.zip
Adding generic echo function.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/echo.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/functions/echo.sh b/functions/echo.sh
index d865ddb02..c5ec7e5e8 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}"