diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2018-05-04 14:54:04 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2018-05-04 14:59:36 -0400 |
commit | 608a710195a4be20ad5f3e97b24db76aebe02808 (patch) | |
tree | 25f67bc9adca0f40b880a78e4c3e05da0d1d5f24 /src | |
parent | b45f6613e0a475f908d93dbaa8612ccb9395f666 (diff) | |
download | postgresql-608a710195a4be20ad5f3e97b24db76aebe02808.tar.gz postgresql-608a710195a4be20ad5f3e97b24db76aebe02808.zip |
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.sh | 2 |
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 ;; |