summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-18 11:24:12 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-18 11:26:45 -0300
commit5431458f4a72961a81b7a62d2f8a379aea31414c (patch)
tree99138c7790eaeeeb13b9e827a9dc5f13f8833165
parent879b69be29360d91bc65b576fcc0ef329858bc47 (diff)
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
-rw-r--r--src/bin/pg_upgrade/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh
index 0ce5c5d70c0..051acd295b7 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