summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan2018-05-04 18:54:04 +0000
committerAndrew Dunstan2018-05-04 19:00:30 +0000
commitd03cf45fd97d0e6759c5862d04f8bde0a4d27575 (patch)
tree18b779a19069a7f825b2c2c8f50fc26201838079 /src
parentb49f4e69a9bb54c743ea2101bee79d06aa438772 (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 f4556341f32..31a8581b146 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
;;