aboutsummaryrefslogtreecommitdiff
path: root/tools
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
commit846729a723f377748114510d9f0c1fad81d838b3 (patch)
treebb88dd072c25a200c0be3c0cdd87ad90efe22a9a /tools
parentdd03e17e30e3695e7eba7c881cb7cc9cff99f309 (diff)
downloadprosody-im-server-846729a723f377748114510d9f0c1fad81d838b3.tar
prosody-im-server-846729a723f377748114510d9f0c1fad81d838b3.zip
additional fix for erlparse loading in ejabberd2prosody.lua
Diffstat (limited to 'tools')
-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