From: Michael Adam Date: Tue, 1 Apr 2008 13:55:59 +0000 (+0200) Subject: po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n' X-Git-Tag: samba-3.3.0pre1~2946 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bd50e450baf633ea9d653341f3ce9d81bfdd83f;p=thirdparty%2Fsamba.git po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n' Michael --- diff --git a/source/po/genmsg b/source/po/genmsg index 14bfa97a902..543200a40f6 100755 --- a/source/po/genmsg +++ b/source/po/genmsg @@ -30,7 +30,7 @@ $XGETTEXT --default-domain="i18n_swat" \ $FILES for lang in $LANGS; do - echo -n $lang + printf "%s" "$lang" mv ${lang}.msg ${lang}.msg.old $MSGMERGE --width=${WIDTH} ${lang}.msg.old i18n_swat.po -o ${lang}.msg done