diff options
| author | Andrew Dunstan | 2018-05-04 18:54:04 +0000 |
|---|---|---|
| committer | Andrew Dunstan | 2018-05-04 19:04:10 +0000 |
| commit | ade3b273caeefc9ec51355607679f913606eab1b (patch) | |
| tree | 610650a4917665933f312726e7182dd7d5c9d670 /contrib | |
| parent | 2d123b31048d4669027bdd1741a935dfc9d8a416 (diff) | |
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.
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/pg_upgrade/test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/test.sh b/contrib/pg_upgrade/test.sh index eac50464e1b..4b4998ef1d9 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 ;; |
