Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4762

Improve the Lua package import paths.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • sometime
    • Lua
    • None

    Description

      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:

      ./?.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
      

      Maybe we can think of a way to automatically get the right paths for the platform.

      Attachments

        Activity

          People

            jamespeach James Peach
            jamespeach James Peach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: