mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
additional fix for erlparse loading in ejabberd2prosody.lua
This commit is contained in:
parent
5554e15437
commit
a97742e477
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ package.path = package.path ..";../?.lua";
|
|||
local my_name = arg[0];
|
||||
if my_name:match("[/\\]") then
|
||||
package.path = package.path..";"..my_name:gsub("[^/\\]+$", "../?.lua");
|
||||
package.path = package.path..";"..my_name:gsub("[^/\\]+$", "?.lua");
|
||||
package.cpath = package.cpath..";"..my_name:gsub("[^/\\]+$", "../?.so");
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue