summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan2018-05-04 18:54:04 +0000
committerAndrew Dunstan2018-05-04 18:59:36 +0000
commit608a710195a4be20ad5f3e97b24db76aebe02808 (patch)
tree25f67bc9adca0f40b880a78e4c3e05da0d1d5f24
parentb45f6613e0a475f908d93dbaa8612ccb9395f666 (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 a80501895b1..45ccd8fa66a 100644
--- a/src/bin/pg_upgrade/test.sh
+++ b/src/bin/pg_upgrade/test.sh
@@ -34,7 +34,7 @@ standard_initdb() {
testhost=`uname -s`
case $testhost in
- MINGW*)
+ MINGW*|MSYS*)
LISTEN_ADDRESSES="localhost"
PGHOST=localhost
;;