aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ejabberd2prosody.lua
diff options
context:
space:
mode:
authorVadim Misbakh-Soloviov <mva@mva.name>2013-06-14 15:43:35 +0700
committerVadim Misbakh-Soloviov <mva@mva.name>2013-06-14 15:43:35 +0700
commit3b8cd7c3df0841446989a99097aa0a24129c39c0 (patch)
tree96cddcf777a7fed030c5ede0257c6f03464d7886 /tools/ejabberd2prosody.lua
parent519e70668d13940d67a97ec85254462c56a93a3a (diff)
downloadprosody-3b8cd7c3df0841446989a99097aa0a24129c39c0.tar.gz
prosody-3b8cd7c3df0841446989a99097aa0a24129c39c0.zip
additional fix for erlparse loading in ejabberd2prosody.lua
Diffstat (limited to 'tools/ejabberd2prosody.lua')
-rwxr-xr-xtools/ejabberd2prosody.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/ejabberd2prosody.lua b/tools/ejabberd2prosody.lua
index 941bd4d5..ff3004c2 100755
--- a/tools/ejabberd2prosody.lua
+++ b/tools/ejabberd2prosody.lua
@@ -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