diff options
author | kent@mysql.com/kent-amd64.(none) <> | 2007-01-01 05:30:31 +0100 |
---|---|---|
committer | kent@mysql.com/kent-amd64.(none) <> | 2007-01-01 05:30:31 +0100 |
commit | 0255a1c9c2155d7beeb76517d1a9770789960369 (patch) | |
tree | 824586efcaa6b47b985f617eabe644977c0bd58e /BUILD/check-cpu | |
parent | 9b8c7ffc1947208f3b9334b7d8216bb1a62f751b (diff) | |
download | mariadb-git-0255a1c9c2155d7beeb76517d1a9770789960369.tar.gz |
mysql_secure_installation.sh:
Portable handling of "echo" without newline (bug#24605)
check-cpu:
In developer script safe to use "printf", not "echo -n"
Diffstat (limited to 'BUILD/check-cpu')
-rwxr-xr-x | BUILD/check-cpu | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/BUILD/check-cpu b/BUILD/check-cpu index e207d12d972..9dd10b8ec3e 100755 --- a/BUILD/check-cpu +++ b/BUILD/check-cpu @@ -167,8 +167,7 @@ check_cpu () { touch __test.c while [ "$cpu_arg" ] ; do - # FIXME: echo -n isn't portable - see contortions autoconf goes through - echo -n testing $cpu_arg "... " >&2 + printf "testing $cpu_arg ... " >&2 # compile check check_cpu_cflags=`eval echo $check_cpu_args` |