postgres.git / summary / log / commit / refs
commit cb23c63bc6de3ecef2a6a9d58d44640865472da4
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: Wed Sep 18 14:24:12 2019 +0000
First released in: 13.0, 9.5.20, 9.6.16, 10.11, 11.6, 12.0
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
src/bin/pg_upgrade/test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh
index 9119bf66553..ace9aa9bbd7 100644
--- a/src/bin/pg_upgrade/test.sh
+++ b/src/bin/pg_upgrade/test.sh
@@ -33,7 +33,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
[parent: 68c3c493674d]