Skip to content

Commit

Permalink
dev: util/build.sh: fixed command line argument validation and enviro…
Browse files Browse the repository at this point in the history
…nment variable usage.
  • Loading branch information
jiahao committed Jul 30, 2024
1 parent 4f17f8a commit 84f8687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ force=$2
add_fake_shm_module="--add-module=$root/t/data/fake-shm-module"

add_http3_module=--with-http_v3_module
answer=`$root/util/ver-ge "$NGINX_VERSION" 1.25.1`
answer=`$root/util/ver-ge "$version" 1.25.1`
if [ "$OPENSSL_VER" = "1.1.0l" ] || [ "$answer" = "N" ]; then
add_http3_module=""
fi

disable_pcre2=--without-pcre2
answer=`$root/util/ver-ge "$NGINX_VERSION" 1.25.1`
answer=`$root/util/ver-ge "$version" 1.25.1`
if [ "$answer" = "N" ] || [ "$USE_PCRE2" = "Y" ]; then
disable_pcre2=""
fi
Expand Down

0 comments on commit 84f8687

Please sign in to comment.