mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: bundled the lua-resty-signal and lua-resty-shell libraries.
This commit is contained in:
committed by
Thibault Charbonnier
parent
06468602b9
commit
2e7e51e649
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user