From 608a710195a4be20ad5f3e97b24db76aebe02808 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 4 May 2018 14:54:04 -0400 Subject: [PATCH] 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 a80501895b..45ccd8fa66 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 ;; -- 2.39.5