mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
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.
This commit is contained in:
@ -32,7 +32,7 @@ standard_initdb() {
|
|||||||
testhost=`uname -s`
|
testhost=`uname -s`
|
||||||
|
|
||||||
case $testhost in
|
case $testhost in
|
||||||
MINGW*)
|
MINGW*|MSYS*)
|
||||||
LISTEN_ADDRESSES="localhost"
|
LISTEN_ADDRESSES="localhost"
|
||||||
PGHOST=localhost
|
PGHOST=localhost
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user