Commit 32200c19 authored by Alvaro Herrera's avatar Alvaro Herrera

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
parent 33a94bae
...@@ -33,7 +33,7 @@ standard_initdb() { ...@@ -33,7 +33,7 @@ standard_initdb() {
# What flavor of host are we on? # What flavor of host are we on?
# Treat MINGW* (msys1) and MSYS* (msys2) the same. # 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 # Establish how the server will listen for connections
case $testhost in case $testhost in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment