aboutsummaryrefslogtreecommitdiffstats
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
commitc633ac92a9735172dddf844a737405d29de8e0aa (patch)
tree0ef5b02bd3c43a0031863f90aa6e82aa8d0c0d4c
parentceff8cb313e0f2e339b6594ddbe7488df1c4b6b1 (diff)
downloadprosody-c633ac92a9735172dddf844a737405d29de8e0aa.tar.gz
prosody-c633ac92a9735172dddf844a737405d29de8e0aa.zip
additional fix for erlparse loading in 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