diff --git a/configure.in b/configure.in index 198e2407541..5366254fc4c 100644 --- a/configure.in +++ b/configure.in @@ -2629,7 +2629,7 @@ AC_SUBST(server_scripts) sql_union_dirs=" $sql_server_dirs " for DIR in $sql_client_dirs do - if echo $sql_union_dirs | grep " $DIR " >/dev/null + if echo " $sql_union_dirs " | grep " $DIR " >/dev/null then : # already present, skip else