This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 6645bbb build: rm luarocks tar file behind successful installation
(#6306)
6645bbb is described below
commit 6645bbb04e4d12890d98f6ec6963b564de353f80
Author: kwanhur <[email protected]>
AuthorDate: Thu Mar 10 10:24:10 2022 +0800
build: rm luarocks tar file behind successful installation (#6306)
Co-authored-by: leslie <[email protected]>
---
utils/linux-install-luarocks.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/linux-install-luarocks.sh b/utils/linux-install-luarocks.sh
index f0e9a8e..be738ce 100755
--- a/utils/linux-install-luarocks.sh
+++ b/utils/linux-install-luarocks.sh
@@ -25,6 +25,7 @@ fi
LUAROCKS_VER=3.8.0
wget https://github.com/luarocks/luarocks/archive/v"$LUAROCKS_VER".tar.gz
tar -xf v"$LUAROCKS_VER".tar.gz
+rm -f v"$LUAROCKS_VER".tar.gz
cd luarocks-"$LUAROCKS_VER" || exit
OR_BIN="$OPENRESTY_PREFIX/bin/openresty"