You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by me...@apache.org on 2020/01/16 07:31:19 UTC
[incubator-apisix] 05/06: bugfix: added
`/usr/share/lua/5.1/apisix/lua/?.lua; ` to lua path (#1060)
This is an automated email from the ASF dual-hosted git repository.
membphis pushed a commit to branch v1.0
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
commit 912c481b1af9dfd9f3983839d3dcf6b2f3dec21d
Author: YuanSheng Wang <me...@gmail.com>
AuthorDate: Wed Jan 15 14:19:44 2020 +0800
bugfix: added `/usr/share/lua/5.1/apisix/lua/?.lua;` to lua path (#1060)
---
bin/apisix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/apisix b/bin/apisix
index b42475c..43282ff 100755
--- a/bin/apisix
+++ b/bin/apisix
@@ -102,7 +102,7 @@ worker_shutdown_timeout 3;
{% if stream_proxy then %}
stream {
- lua_package_path "$prefix/deps/share/lua/5.1/?.lua;]=]
+ lua_package_path "$prefix/deps/share/lua/5.1/?.lua;/usr/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[{*apisix_lua_home*}/lua/?.lua;;{*lua_path*};";
lua_package_cpath "$prefix/deps/lib64/lua/5.1/?.so;]=]
.. [=[$prefix/deps/lib/lua/5.1/?.so;;]=]
@@ -148,7 +148,7 @@ stream {
{% end %}
http {
- lua_package_path "$prefix/deps/share/lua/5.1/?.lua;]=]
+ lua_package_path "$prefix/deps/share/lua/5.1/?.lua;/usr/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[{*apisix_lua_home*}/lua/?.lua;;{*lua_path*};";
lua_package_cpath "$prefix/deps/lib64/lua/5.1/?.so;]=]
.. [=[$prefix/deps/lib/lua/5.1/?.so;;]=]