From: Andrew Dunstan Date: Fri, 4 May 2018 18:54:04 +0000 (-0400) Subject: Allow MSYS as well as MINGW in Msys uname X-Git-Tag: REL9_3_23~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=594ff3d7d78c7acf73ae3ea47795dc3e07550227;p=thirdparty%2Fpostgresql.git 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. --- 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 ;;