summaryrefslogtreecommitdiff
path: root/src
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:03:38 -0400
commit1fcb0dfa681572d04061896ffb0761a0e559191f (patch)
tree392e2f481006c62056ac0a3250304092abcca3ca /src
parent4e0e9e59b7cef3bb9518e12ba44f04d91224779f (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.
Diffstat (limited to 'src')
-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 bb414199241..4232a753bca 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
;;