From: Peter Eisentraut Date: Sat, 18 Aug 2018 20:11:43 +0000 (+0200) Subject: Improve shell script portability X-Git-Tag: pgbouncer_1_10_0~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dea2753eee903326b9dc8ea562a4bd51f54601d9;p=pgbouncer Improve shell script portability Use printf instead of echo -n, for BSD compatibility, similar to 1b6db6c506cbed67fb4012a1217898a4b8e35252. --- diff --git a/test/ssl/test.sh b/test/ssl/test.sh index a86d3bf..7891d53 100755 --- a/test/ssl/test.sh +++ b/test/ssl/test.sh @@ -124,7 +124,7 @@ admin() { } runtest() { - echo -n "`date` running $1 ... " + printf "`date` running $1 ... " eval $1 >$LOGDIR/$1.log 2>&1 if [ $? -eq 0 ]; then echo "ok"