From: Alvaro Herrera Date: Wed, 18 Sep 2019 14:24:12 +0000 (-0300) Subject: pg_upgrade/test.sh: Quote sed(1) argument X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=906a8078619593447fe7ee795895e476695c3235;p=postgresql pg_upgrade/test.sh: Quote sed(1) argument Lack of quotes results in failure to run the test under older Solaris. Author: Marina Polyakova, Victor Wagner Discussion: https://postgr.es/m/feba89f89e8925b3535cb7d72b9e05e1@postgrespro.ru --- diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh index 0e90b359e3..6e5d9874cd 100644 --- a/src/bin/pg_upgrade/test.sh +++ b/src/bin/pg_upgrade/test.sh @@ -31,7 +31,7 @@ standard_initdb() { # What flavor of host are we on? # Treat MINGW* (msys1) and MSYS* (msys2) the same. -testhost=`uname -s | sed s/^MSYS/MINGW/` +testhost=`uname -s | sed 's/^MSYS/MINGW/'` # Establish how the server will listen for connections case $testhost in