postgres.git / summary / log / commit / refs
commit 1fcb0dfa681572d04061896ffb0761a0e559191f
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 bb414199241..4232a753bca 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: 4e0e9e59b7ce]