projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d123b3
)
Allow MSYS as well as MINGW in Msys uname
author
Andrew Dunstan
Fri, 4 May 2018 18:54:04 +0000
(14:54 -0400)
committer
Andrew Dunstan
Fri, 4 May 2018 19:04:10 +0000
(15:04 -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.
contrib/pg_upgrade/test.sh
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/test.sh
b/contrib/pg_upgrade/test.sh
index eac50464e1b0866f88df7c529faa74e9fa2d68fd..4b4998ef1d91290dc176c3586624c311828a436c 100644
(file)
--- 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
;;