diff options
author | unknown <kent@mysql.com/kent-amd64.(none)> | 2007-01-01 05:30:31 +0100 |
---|---|---|
committer | unknown <kent@mysql.com/kent-amd64.(none)> | 2007-01-01 05:30:31 +0100 |
commit | 6d0387a704235da8e2135225844aee17ff1dcccb (patch) | |
tree | 824586efcaa6b47b985f617eabe644977c0bd58e /BUILD | |
parent | 8ca9c9288039db167a115cadae1d514ed9ac47e3 (diff) | |
download | mariadb-git-6d0387a704235da8e2135225844aee17ff1dcccb.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"
BUILD/check-cpu:
In developer script safe to use "printf", not "echo -n"
scripts/mysql_secure_installation.sh:
Portable handling of "echo" without newline (bug#24605)
Diffstat (limited to 'BUILD')
-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` |