upgraded lua-resty-redis to 0.22.

pull/177/head
Yichun Zhang (agentzh) 9 years ago
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 ..
#################################

Loading…
Cancel
Save