Skip to content

Commit e759799

Browse files
committed
now we use ngx_http_redis module 0.3.7 in our developer build script.
1 parent 6df5b2b commit e759799

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

util/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ version=$1
77
home=~
88
force=$2
99

10-
ngx_redis_version=0.3.6
10+
ngx_redis_version=0.3.7
1111
ngx_redis_path=$home/work/nginx/ngx_http_redis-$ngx_redis_version
1212

13-
cd $ngx_redis_path
14-
patch -N -p1 < $root/../ngx_openresty/patches/ngx_http_redis-$ngx_redis_version-variables_in_redis_pass.patch
15-
cd $root
13+
cd $ngx_redis_path || exit 1
14+
patch --forward -p1 < $root/../ngx_openresty/patches/ngx_http_redis-$ngx_redis_version-variables_in_redis_pass.patch
15+
cd $root || exit 1
1616

1717
#--without-http_memcached_module \
1818
ngx-build $force $version \

0 commit comments

Comments
 (0)