diff options
author | Daniel Baumann <daniel@debian.org> | 2008-08-14 20:25:29 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:39 +0100 |
commit | fe8484f3cd11620e793dba71425abcb3cde9757e (patch) | |
tree | bef4a5ae335192ceeac6adc99208d1175b8c9457 /functions | |
parent | 2bec7369f103c0b868747940a6c9d502413ddcae (diff) | |
download | live-build-fe8484f3cd11620e793dba71425abcb3cde9757e.zip live-build-fe8484f3cd11620e793dba71425abcb3cde9757e.tar.gz |
Adding generic echo function.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/echo.sh | 8 |
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}" |