Skip to content

Commit 5431458

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 879b69b commit 5431458

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
@@ -31,7 +31,7 @@ standard_initdb() {
3131

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

3636
# Establish how the server will listen for connections
3737
case $testhost in

0 commit comments

Comments
 (0)