summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2018-05-04 14:54:04 -0400
committerAndrew Dunstan <andrew@dunslane.net>2018-05-04 15:01:57 -0400
commit679b07469a17eb08271dfeec1f015f9239ce40bd (patch)
treedfcf59b7d37fb06de28fcd5ecbeca27d2785cd05
parent7a83323f2daaa0aa73e60b82ba48f651c6934bc5 (diff)
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.
-rw-r--r--src/bin/pg_upgrade/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh
index d417932301e..49849b371bc 100644
--- a/src/bin/pg_upgrade/test.sh
+++ b/src/bin/pg_upgrade/test.sh
@@ -32,7 +32,7 @@ standard_initdb() {
testhost=`uname -s`
case $testhost in
- MINGW*)
+ MINGW*|MSYS*)
LISTEN_ADDRESSES="localhost"
PGHOST=localhost
;;