updated [ to saner [[
diff --git a/conf/webindex-env.sh.example b/conf/webindex-env.sh.example
index 2121ee7..48c525d 100644
--- a/conf/webindex-env.sh.example
+++ b/conf/webindex-env.sh.example
@@ -30,9 +30,9 @@
 export ACCUMULO_VERSION=`accumulo version`
 
 # Accumulo client will likely not work without correct thrift version
-if [ $ACCUMULO_VERSION '<' "1.8" ]; then
+if [[ $ACCUMULO_VERSION < "1.8" ]]; then
   THRIFT_VERSION="0.9.1"
-elif [ $ACCUMULO_VERSION '<' "2.0" ]; then
+elif [[ $ACCUMULO_VERSION < "2.0" ]]; then
   THRIFT_VERSION="0.9.3"
 else
   THRIFT_VERSION="10.0.0"