projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b49f4e6
)
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:00:30 +0000
(15:00 -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 f4556341f324368b99ea0723498b8174aee0aa4f..31a8581b14678ea86ab7c6cc3fd18a5515ce6b5b 100644
(file)
--- a/
src/bin/pg_upgrade/test.sh
+++ b/
src/bin/pg_upgrade/test.sh
@@
-32,7
+32,7
@@
standard_initdb() {
testhost=`uname -s`
case $testhost in
- MINGW*)
+ MINGW*
|MSYS*
)
LISTEN_ADDRESSES="localhost"
PGHOST=localhost
;;