1
0
mirror of https://github.com/openresty/openresty synced 2024-11-09 18:35:51 +01:00

upgraded lua-resty-redis to 0.22.

This commit is contained in:
Yichun Zhang (agentzh) 2015-12-23 13:38:25 -08:00
parent a9a8ebee7a
commit ec162777c3

@ -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
tar -xzf lua-resty-redis-$ver.tar.gz || 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
sed 's/\$(DESTDIR)\//$(DESTDIR)/g' Makefile > mk || exit 1
mv mk Makefile || exit 1
cd ..
#sed 's/\$(DESTDIR)\//$(DESTDIR)/g' Makefile > mk || exit 1
#mv mk Makefile || exit 1
#cd ..
#################################