File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 55if [ $# -gt 0 ] && [ " $1 " == " latest" ]; then
66 ngx_multi_upstream_module_ver=" "
77 mod_dubbo_ver=" "
8+ debug_args=" --with-debug"
9+ OR_PREFIX=${OR_PREFIX:= " /usr/local/openresty/debug" }
810else
911 ngx_multi_upstream_module_ver=" -b 1.0.0"
1012 mod_dubbo_ver=" -b 1.0.0"
13+ debug_args=
14+ OR_PREFIX=${OR_PREFIX:= " /usr/local/openresty" }
1115fi
1216
13- OR_PREFIX=${OR_PREFIX:= " /usr/local/openresty" }
14-
1517workdir=$( mktemp -d)
1618cd " $workdir " || exit 1
1719
@@ -29,14 +31,13 @@ cd ngx_multi_upstream_module || exit 1
2931cd ..
3032
3133cd apisix-nginx-module/patch || exit 1
32- cp ~ /git/apisix-nginx-module/patch/1.19.3/lua-resty-core-tlshandshake.patch 1.19.3/
33- ~ /git/apisix-nginx-module/patch/patch.sh ../../openresty-1.19.3.1
34+ ./patch.sh ../../openresty-1.19.3.1
3435cd ../..
3536
3637cd openresty-1.19.3.1 || exit 1
3738./configure --prefix=" $OR_PREFIX " \
3839 --add-module=../mod_dubbo --add-module=../ngx_multi_upstream_module \
39- --with-debug \
40+ $debug_args \
4041 --with-poll_module \
4142 --with-pcre-jit \
4243 --without-http_rds_json_module \
You can’t perform that action at this time.
0 commit comments