File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ GET /cats
229
229
If-Unmodified-Since: Thu, 10 May 2012 07:50:58 GMT
230
230
--- response_headers
231
231
Content-Type: text/html
232
- Content-Length: 182
232
+ Content-Length: 186
233
233
!Last-Modified
234
234
--- response_body_like: 412 Precondition Failed
235
235
--- error_code: 412
Original file line number Diff line number Diff line change @@ -18,6 +18,15 @@ if [ ! -f $patch_file ]; then
18
18
fi
19
19
# we ignore any errors here since the target directory might have already been patched.
20
20
patch --forward -p1 < $patch_file
21
+
22
+ patch_file=$root /../openresty/patches/ngx_http_redis-$ngx_redis_version -default_port_fix.patch
23
+ if [ ! -f $patch_file ]; then
24
+ echo " $patch_file : No such file" > /dev/stderr
25
+ exit 1
26
+ fi
27
+ # we ignore any errors here since the target directory might have already been patched.
28
+ patch --forward -p1 < $patch_file
29
+
21
30
cd $root || exit 1
22
31
23
32
# --without-http_memcached_module \
You can’t perform that action at this time.
0 commit comments