Skip to content

Commit 32200c1

Browse files
committed
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
1 parent 33a94ba commit 32200c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_upgrade/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ standard_initdb() {
3333

3434
# What flavor of host are we on?
3535
# Treat MINGW* (msys1) and MSYS* (msys2) the same.
36-
testhost=`uname -s | sed s/^MSYS/MINGW/`
36+
testhost=`uname -s | sed 's/^MSYS/MINGW/'`
3737

3838
# Establish how the server will listen for connections
3939
case $testhost in

0 commit comments

Comments
 (0)