Commit b02086b3 authored by Bruce Momjian's avatar Bruce Momjian

Remove extra backets in tr test.

parent f05642bb
......@@ -1515,9 +1515,9 @@ TRSTRINGS=`echo ABCdef | $TR 'a-z' 'A-Z' 2>/dev/null | grep ABCDEF`
TRCLASS=`echo ABCdef | $TR ':lower:' ':upper:' 2>/dev/null | grep ABCDEF`
if test "$TRSTRINGS" = "ABCDEF"; then
TRARGS="'[a-z]' '[A-Z]'"
TRARGS="'a-z' 'A-Z'"
elif test "$TRCLASS" = "ABCDEF"; then
TRARGS="\"[:lower:]\" \"[:upper:]\""
TRARGS="\":lower:\" \":upper:\""
else
{ echo "configure: error: "Can\'t find method to covert from upper to lower case with tr"" 1>&2; exit 1; }
fi
......
......@@ -323,9 +323,9 @@ TRSTRINGS=`echo ABCdef | $TR '[a-z]' '[A-Z]' 2>/dev/null | grep ABCDEF`
TRCLASS=`echo ABCdef | $TR '[:lower:]' '[:upper:]' 2>/dev/null | grep ABCDEF`
if test "$TRSTRINGS" = "ABCDEF"; then
TRARGS="'[[a-z]]' '[[A-Z]]'"
TRARGS="'[a-z]' '[A-Z]'"
elif test "$TRCLASS" = "ABCDEF"; then
TRARGS="\"[[:lower:]]\" \"[[:upper:]]\""
TRARGS="\"[:lower:]\" \"[:upper:]\""
else
AC_MSG_ERROR("Can\'t find method to covert from upper to lower case with tr")
fi
......
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