diff --git a/scripts/docs_version_pragma_check.sh b/scripts/docs_version_pragma_check.sh index f26355b47..2afdc29e7 100755 --- a/scripts/docs_version_pragma_check.sh +++ b/scripts/docs_version_pragma_check.sh @@ -108,7 +108,7 @@ function findMinimalVersion() do if versionGreater "$ver" "$pragmaVersion" then - minVersion="$ver" + version="$ver" break elif ([ $greater == false ]) && versionEqual "$ver" "$pragmaVersion" then