Clean up qnx template finding.

This commit is contained in:
Bruce Momjian 1999-12-21 16:55:38 +00:00
parent e2aef49694
commit 6a554a07b4
1 changed files with 2 additions and 2 deletions

View File

@ -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