|
|
@ -701,7 +701,7 @@ else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# lowercase $host |
|
|
|
# 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 |
|
|
|
# First, try for a template exactly matching $host |
|
|
|
if test -f "template/$host" |
|
|
|
if test -f "template/$host" |
|
|
@ -729,7 +729,7 @@ else |
|
|
|
then TEMPLATE="$GUESS" |
|
|
|
then TEMPLATE="$GUESS" |
|
|
|
else |
|
|
|
else |
|
|
|
# Last chance ... maybe uname -s will match an entry. |
|
|
|
# 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 |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|