aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-06 04:14:20 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-09 04:19:12 -0400
commit2c61c19f80e21743ef36bc53597ba893d4836dfc (patch)
tree934d1a8a815e529b6e7d2a914b24c48c0f3cd46a /iconvdata
parentef086ef8baada5bd485f3f21dde1c9bc10bd6bd5 (diff)
downloadglibc-2c61c19f80e21743ef36bc53597ba893d4836dfc.zip
glibc-2c61c19f80e21743ef36bc53597ba893d4836dfc.tar.gz
glibc-2c61c19f80e21743ef36bc53597ba893d4836dfc.tar.bz2
fix non-portable `echo -n` usage
These scripts use #!/bin/sh explicitly, so make sure they avoid echo -n as different shells treat it differently. Use the portable printf func instead.
Diffstat (limited to 'iconvdata')
-rwxr-xr-xiconvdata/tst-tables.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/tst-tables.sh b/iconvdata/tst-tables.sh
index 73d9400..cd81a7f 100755
--- a/iconvdata/tst-tables.sh
+++ b/iconvdata/tst-tables.sh
@@ -261,7 +261,7 @@ EOF
while read charset charmap; do
if test "$charset" = GB18030; then echo "This might take a while" 1>&2; fi
case ${charset} in \#*) continue;; esac
- echo -n "Testing ${charset}" 1>&2
+ printf %s "Testing ${charset}" 1>&2
if ./tst-table.sh ${common_objpfx} ${objpfx} "${test_program_prefix}" \
${charset} ${charmap} < /dev/null; then
echo 1>&2