mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
Use %s with printf in test.sh
This commit is contained in:
parent
9c469db300
commit
039b9bd0e3
@ -9,9 +9,9 @@ fi
|
||||
|
||||
# /bin/echo is a little more likely to support -n than sh's builtin echo,
|
||||
# printf is even more likely
|
||||
if test "`printf hello 2>&1`" = "hello"
|
||||
if test "`printf %s hello 2>&1`" = "hello"
|
||||
then
|
||||
ECHO_N="printf"
|
||||
ECHO_N="printf %s"
|
||||
else
|
||||
if test -x /bin/echo
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user