po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n'
authorMichael Adam <obnox@samba.org>
Tue, 1 Apr 2008 13:55:59 +0000 (15:55 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 1 Apr 2008 14:16:55 +0000 (16:16 +0200)
Michael
(This used to be commit 0bd50e450baf633ea9d653341f3ce9d81bfdd83f)

source3/po/genmsg

index 14bfa97a9027ccd04a0c291ae5bc0d613b72fccf..543200a40f6b6a43db00dcb648499e902002e0eb 100755 (executable)
@@ -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