summaryrefslogtreecommitdiff
path: root/BUILD/check-cpu
diff options
context:
space:
mode:
authorkent@mysql.com/kent-amd64.(none) <>2007-01-01 05:30:31 +0100
committerkent@mysql.com/kent-amd64.(none) <>2007-01-01 05:30:31 +0100
commit0255a1c9c2155d7beeb76517d1a9770789960369 (patch)
tree824586efcaa6b47b985f617eabe644977c0bd58e /BUILD/check-cpu
parent9b8c7ffc1947208f3b9334b7d8216bb1a62f751b (diff)
downloadmariadb-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-xBUILD/check-cpu3
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`