Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb23c63

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/[email protected]
1 parent 68c3c49 commit cb23c63

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)