mirror of https://github.com/postgres/postgres.git
Lowercase $host for QNX.
parent
1520f60f0e
commit
9f013a552a
|
|
@ -92,6 +92,10 @@ AC_ARG_WITH(template,
|
||||||
see template directory],
|
see template directory],
|
||||||
[ TEMPLATE=$withval ],
|
[ TEMPLATE=$withval ],
|
||||||
[
|
[
|
||||||
|
|
||||||
|
# lowercase $host
|
||||||
|
host="`echo $host | tr '[A-Z]' '[a-z]'`"
|
||||||
|
|
||||||
# First, try for a template exactly matching $host
|
# First, try for a template exactly matching $host
|
||||||
if test -f "template/$host"
|
if test -f "template/$host"
|
||||||
then TEMPLATE="$host"
|
then TEMPLATE="$host"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue