summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-01 15:55:59 +0200
committerMichael Adam <obnox@samba.org>2008-04-01 16:16:55 +0200
commitdffcb461fbd7130c2049832916c315657ec12084 (patch)
tree98d907bab10f947ec239aed61f2f08c69f90e753
parent36ade6136da79b48aab5d54ba04edbc2c3bc48bb (diff)
downloadsamba-dffcb461fbd7130c2049832916c315657ec12084.tar.gz
samba-dffcb461fbd7130c2049832916c315657ec12084.tar.bz2
samba-dffcb461fbd7130c2049832916c315657ec12084.zip
po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n'
Michael (This used to be commit 0bd50e450baf633ea9d653341f3ce9d81bfdd83f)
-rwxr-xr-xsource3/po/genmsg2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/po/genmsg b/source3/po/genmsg
index 14bfa97a90..543200a40f 100755
--- a/source3/po/genmsg
+++ b/source3/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