Wireshark-commits: [Wireshark-commits] master f3fe29f: Add paths to Lua package.path so require wor
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=f3fe29f0fccaebaa7b7bb5db86604b241a1fa749
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
f3fe29f by Hadriel Kaplan (hadrielk@xxxxxxxxx):
Add paths to Lua package.path so require works for user scripts
This adds the global and personal plugins directories to the
package.path setting in Lua, so doing 'require' will work
properly.
Change-Id: Iec33bc60cd7d41aa122da456db91d4ccc3085f82
Reviewed-on: https://code.wireshark.org/review/841
Reviewed-by: Hadriel Kaplan <hadrielk@xxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 09055f1 two more chunk names
adds f3fe29f Add paths to Lua package.path so require works for user scripts
Summary of changes:
epan/wslua/init_wslua.c | 24 +++++++++++++++++++++--
epan/wslua/template-init.lua | 43 +++++++++++++++++++++++++++++++++++++++++-
2 files changed, 64 insertions(+), 3 deletions(-)