Commit 9f013a55 authored by Bruce Momjian's avatar Bruce Momjian

Lowercase $host for QNX.

parent 1520f60f
...@@ -92,6 +92,10 @@ AC_ARG_WITH(template, ...@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment