diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-18 11:24:12 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2019-09-18 11:27:11 -0300 |
commit | 32200c19dd8f084956d90e3c2cb5c2b8a8b90dfa (patch) | |
tree | 2a0d8e483cfd0df105592a4206a5c3c48caa903a /src | |
parent | 33a94bae605edf3ceda6751916f0b1af3e88630a (diff) | |
download | postgresql-32200c19dd8f084956d90e3c2cb5c2b8a8b90dfa.tar.gz postgresql-32200c19dd8f084956d90e3c2cb5c2b8a8b90dfa.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_upgrade/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh index a5169a13e5a..03c2e46b9c4 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 |