James Peach created TS-4762: ------------------------------- Summary: Improve the Lua package import paths. Key: TS-4762 URL: https://issues.apache.org/jira/browse/TS-4762 Project: Traffic Server Issue Type: Improvement Components: Lua Reporter: James Peach
I noticed that when you build ATS with a non-default prefix, you end up with unexpected Lua package paths. For example, this is what I had for {{package.path}}: {noformat} ./?.lua;/n/trafficserver/share/luajit-2.0.4/?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/init.lua;/n/trafficserver/share/lua/5.1/?.lua;/n/trafficserver/share/lua/5.1/?/init.lua {noformat} Maybe we can think of a way to automatically get the right paths for the platform. -- This message was sent by Atlassian JIRA (v6.3.4#6332)