|
|
|
@ -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 ..
|
|
|
|
|
|
|
|
|
|
#################################
|
|
|
|
|
|
|
|
|
|