Skip to content

Commit 608a710

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 b45f661 commit 608a710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_upgrade/test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ standard_initdb() {
3434
testhost=`uname -s`
3535

3636
case $testhost in
37-
MINGW*)
37+
MINGW*|MSYS*)
3838
LISTEN_ADDRESSES="localhost"
3939
PGHOST=localhost
4040
;;

0 commit comments

Comments
 (0)