Skip to content

Commit d03cf45

Browse files
committed
Allow MSYS as well as MINGW in Msys uname
Msys2's uname -s outputs a string beginning MSYS rather than MINGW as is output by Msys. Allow either in pg_upgrade's test.sh. Backpatch to all live branches.
1 parent b49f4e6 commit d03cf45

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
@@ -32,7 +32,7 @@ standard_initdb() {
3232
testhost=`uname -s`
3333

3434
case $testhost in
35-
MINGW*)
35+
MINGW*|MSYS*)
3636
LISTEN_ADDRESSES="localhost"
3737
PGHOST=localhost
3838
;;

0 commit comments

Comments
 (0)