Skip to content

Commit

Permalink
CLI: added missing Lua path. (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
membphis authored Feb 9, 2020
1 parent ff4c4f5 commit 4a681af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis/check-nginxconf.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash

#
# Licensed to the Apache Software Foundation (ASF) under one or more
Expand Down
2 changes: 2 additions & 0 deletions bin/apisix
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ worker_shutdown_timeout 3;
{% if stream_proxy then %}
stream {
lua_package_path "$prefix/deps/share/lua/5.1/?.lua;/usr/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[/usr/local/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[$prefix/deps/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[{*apisix_lua_home*}/lua/?.lua;;{*lua_path*};";
lua_package_cpath "$prefix/deps/lib64/lua/5.1/?.so;]=]
Expand Down Expand Up @@ -150,6 +151,7 @@ stream {
http {
lua_package_path "$prefix/deps/share/lua/5.1/?.lua;/usr/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[/usr/local/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[$prefix/deps/share/lua/5.1/apisix/lua/?.lua;]=]
.. [=[{*apisix_lua_home*}/lua/?.lua;;{*lua_path*};";
lua_package_cpath "$prefix/deps/lib64/lua/5.1/?.so;]=]
Expand Down

0 comments on commit 4a681af

Please sign in to comment.