mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-13 19:57:53 +08:00
Clean up qnx template finding.
This commit is contained in:
parent
e2aef49694
commit
6a554a07b4
@ -94,7 +94,7 @@ AC_ARG_WITH(template,
|
||||
[
|
||||
|
||||
# lowercase $host
|
||||
host="`echo $host | tr 'A-Z' 'a-z'`"
|
||||
host="`echo $host | tr '[[A-Z]]' '[[a-z]]'`"
|
||||
|
||||
# First, try for a template exactly matching $host
|
||||
if test -f "template/$host"
|
||||
@ -122,7 +122,7 @@ else
|
||||
then TEMPLATE="$GUESS"
|
||||
else
|
||||
# Last chance ... maybe uname -s will match an entry.
|
||||
TEMPLATE=`uname -s | tr A-Z a-z`
|
||||
TEMPLATE=`uname -s | tr '[[A-Z]]' '[[a-z]]'`
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user