feature: bundled the lua-resty-signal and lua-resty-shell libraries.

This commit is contained in:
Thibault Charbonnier
2019-02-01 15:36:03 -08:00
committed by Thibault Charbonnier
parent 06468602b9
commit 2e7e51e649
3 changed files with 371 additions and 46 deletions

View File

@ -861,6 +861,28 @@ cd ..
#################################
ver=0.02
$root/util/get-tarball "https://github.com/openresty/lua-resty-signal/tarball/v$ver" -O "lua-resty-signal-$ver.tar.gz" || exit 1
tar -xzf lua-resty-signal-$ver.tar.gz || exit 1
mv openresty-lua-resty-signal-* lua-resty-signal-$ver || exit 1
cd lua-resty-signal-$ver || exit 1
sed 's/\$(DESTDIR)\//$(DESTDIR)/g' Makefile > mk || exit 1
mv mk Makefile || exit 1
cd ..
#################################
ver=0.01
$root/util/get-tarball "https://github.com/openresty/lua-resty-shell/tarball/v$ver" -O "lua-resty-shell-$ver.tar.gz" || exit 1
tar -xzf lua-resty-shell-$ver.tar.gz || exit 1
mv openresty-lua-resty-shell-* lua-resty-shell-$ver || exit 1
cd lua-resty-shell-$ver || exit 1
sed 's/\$(DESTDIR)\//$(DESTDIR)/g' Makefile > mk || exit 1
mv mk Makefile || exit 1
cd ..
#################################
rm *.tar.gz
rm *.tar.bz2