Skip to content

Commit 29fe7a5

Browse files
author
Johnny Wang
authored
dev: util/build.sh: fixed command line argument validation and environment variable usage.
1 parent 6768721 commit 29fe7a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ force=$2
2525
add_fake_shm_module="--add-module=$root/t/data/fake-shm-module"
2626

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

3333
disable_pcre2=--without-pcre2
34-
answer=`$root/util/ver-ge "$NGINX_VERSION" 1.25.1`
34+
answer=`$root/util/ver-ge "$version" 1.25.1`
3535
if [ "$answer" = "N" ] || [ "$USE_PCRE2" = "Y" ]; then
3636
disable_pcre2=""
3737
fi

0 commit comments

Comments
 (0)