mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
upgraded lua-resty-redis to 0.22.
This commit is contained in:
@ -581,15 +581,15 @@ cd ..
|
|||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
ver=0.21
|
ver=0.22
|
||||||
$root/util/get-tarball "https://github.com/openresty/lua-resty-redis/tarball/v$ver" -O "lua-resty-redis-$ver.tar.gz" || exit 1
|
$root/util/get-tarball "https://github.com/openresty/lua-resty-redis/tarball/v$ver" -O "lua-resty-redis-$ver.tar.gz" || exit 1
|
||||||
tar -xzf lua-resty-redis-$ver.tar.gz || exit 1
|
tar -xzf lua-resty-redis-$ver.tar.gz || exit 1
|
||||||
mv openresty-lua-resty-redis-* lua-resty-redis-$ver || exit 1
|
mv openresty-lua-resty-redis-* lua-resty-redis-$ver || exit 1
|
||||||
cd lua-resty-redis-$ver || exit 1
|
#cd lua-resty-redis-$ver || exit 1
|
||||||
#patch -p1 < $root/patches/lua_cjson-$ver-array_detection_fix.patch || exit 1
|
#patch -p1 < $root/patches/lua_cjson-$ver-array_detection_fix.patch || exit 1
|
||||||
sed 's/\$(DESTDIR)\//$(DESTDIR)/g' Makefile > mk || exit 1
|
#sed 's/\$(DESTDIR)\//$(DESTDIR)/g' Makefile > mk || exit 1
|
||||||
mv mk Makefile || exit 1
|
#mv mk Makefile || exit 1
|
||||||
cd ..
|
#cd ..
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user