OSDN Git Service

autoconf
authorBruce Momjian <bruce@momjian.us>
Tue, 21 Dec 1999 16:56:42 +0000 (16:56 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 21 Dec 1999 16:56:42 +0000 (16:56 +0000)
src/configure

index 15cfa8d..c67d0fc 100755 (executable)
@@ -701,7 +701,7 @@ else
   
 
 # 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"
@@ -729,7 +729,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