Skip to content

Commit 28965e8

Browse files
authored
feat: upgrade OpenResty (#41)
1 parent 4fcaa82 commit 28965e8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build-apisix-openresty.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ repo=$(basename "$prev_workdir")
2121
workdir=$(mktemp -d)
2222
cd "$workdir" || exit 1
2323

24-
wget https://openresty.org/download/openresty-1.19.3.1.tar.gz
25-
tar -zxvpf openresty-1.19.3.1.tar.gz
24+
or_ver="1.19.3.2"
25+
wget https://openresty.org/download/openresty-${or_ver}.tar.gz
26+
tar -zxvpf openresty-${or_ver}.tar.gz
2627

2728
if [ "$repo" == ngx_multi_upstream_module ]; then
2829
cp -r "$prev_workdir" .
@@ -46,14 +47,14 @@ else
4647
fi
4748

4849
cd ngx_multi_upstream_module || exit 1
49-
./patch.sh ../openresty-1.19.3.1
50+
./patch.sh ../openresty-${or_ver}
5051
cd ..
5152

5253
cd apisix-nginx-module/patch || exit 1
53-
./patch.sh ../../openresty-1.19.3.1
54+
./patch.sh ../../openresty-${or_ver}
5455
cd ../..
5556

56-
cd openresty-1.19.3.1 || exit 1
57+
cd openresty-${or_ver} || exit 1
5758
./configure --prefix="$OR_PREFIX" \
5859
--add-module=../mod_dubbo \
5960
--add-module=../ngx_multi_upstream_module \

0 commit comments

Comments
 (0)