postgres.git / summary / log / commit / refs
commit 594ff3d7d78c7acf73ae3ea47795dc3e07550227
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Fri May 04 18:54:04 2018 +0000
First released in: 11.0, 9.3.23, 9.4.18, 9.5.13, 9.6.9, 10.4
Reverted by: a5364a3df578 (in 9.4.25), 33066b014289 (in 9.5.20), f6d5a5f6dba5 (in 9.6.16), 01c5ef99cc0c (in 10.11), 3a1417c4265b (in 11.6), 67d5af3f42b7 (in 12.0), acb96eb7d294 (in 13.0)
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.
contrib/pg_upgrade/test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/pg_upgrade/test.sh b/contrib/pg_upgrade/test.sh
index 2072011bfc3..b77e6129d30 100644
--- a/contrib/pg_upgrade/test.sh
+++ b/contrib/pg_upgrade/test.sh
@@ -32,7 +32,7 @@ standard_initdb() {
testhost=`uname -s`
case $testhost in
- MINGW*)
+ MINGW*|MSYS*)
LISTEN_ADDRESSES="localhost"
PGHOST=localhost
;;
[parent: 9469ebc71bab]