fix root CMakeLists.txt search

This commit is contained in:
Sergei Trifonov 2022-05-26 04:39:02 +02:00 committed by GitHub
parent 5c3c994d2a
commit 417296481e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ find_clickhouse_root () {
echo "error: $DIR has no CMakeLists.txt"
return 1
fi
if grep "project(ClickHouse)" "$DIR/CMakeLists.txt" >/dev/null 2>&1; then
if grep "project(ClickHouse" "$DIR/CMakeLists.txt" >/dev/null 2>&1; then
echo $DIR
return 0
fi