diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-08-06 04:14:20 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-08-09 04:19:12 -0400 |
commit | 2c61c19f80e21743ef36bc53597ba893d4836dfc (patch) | |
tree | 934d1a8a815e529b6e7d2a914b24c48c0f3cd46a /iconvdata | |
parent | ef086ef8baada5bd485f3f21dde1c9bc10bd6bd5 (diff) | |
download | glibc-2c61c19f80e21743ef36bc53597ba893d4836dfc.tar glibc-2c61c19f80e21743ef36bc53597ba893d4836dfc.tar.gz glibc-2c61c19f80e21743ef36bc53597ba893d4836dfc.tar.bz2 glibc-2c61c19f80e21743ef36bc53597ba893d4836dfc.zip |
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-x | iconvdata/tst-tables.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iconvdata/tst-tables.sh b/iconvdata/tst-tables.sh index 73d9400b8a..cd81a7f8ae 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 |