postgres.git / summary / log / commit / refs
commit 679b07469a17eb08271dfeec1f015f9239ce40bd
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.
src/bin/pg_upgrade/test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pg_upgrade/test.sh b/src/bin/pg_upgrade/test.sh
index d417932301e..49849b371bc 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
;;
[parent: 7a83323f2daa]