diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-19 12:28:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-19 12:28:04 +0000 |
commit | afc23456a702c165e1732d36f0c82c283686770e (patch) | |
tree | fff6eb4db5a6bc02a4e3d75244eed38583abdfc6 | |
parent | 78753ab13629cd2ec6eb70e09342b8ea2766e96c (diff) | |
download | mandoc-afc23456a702c165e1732d36f0c82c283686770e.tar.gz mandoc-afc23456a702c165e1732d36f0c82c283686770e.tar.zst mandoc-afc23456a702c165e1732d36f0c82c283686770e.zip |
do not use the echo(1) -n option, it is not portable;
issue found on SUN Solaris 10
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: configure,v 1.78 2021/08/07 13:02:10 schwarze Exp $ +# $Id: configure,v 1.79 2021/09/19 12:28:04 schwarze Exp $ # # Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> # @@ -263,8 +263,8 @@ if [ -n "${CFLAGS}" ]; then else COMP="${CC} ${DEFCFLAGS} -Wno-unused -Werror" fi -echo -n "tested ${CC} -W: " 1>&2 -echo -n "testing ${CC} -W: " 1>&3 +printf "%s" "tested ${CC} -W: " 1>&2 +printf "%s" "testing ${CC} -W: " 1>&3 runtest noop WFLAG || true if [ -n "${CFLAGS}" ]; then |