projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b45f661
)
Allow MSYS as well as MINGW in Msys uname
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 4 May 2018 18:54:04 +0000
(14:54 -0400)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 4 May 2018 18:59:36 +0000
(14:59 -0400)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_upgrade/test.sh
b/src/bin/pg_upgrade/test.sh
index a80501895b1ad7d8c6fb2eb4bbb0286287adda4e..45ccd8fa66ac4f5aa6ed6ba34ffc73c51bc5a855 100644
(file)
--- 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
;;