diff options
author | Vadim Misbakh-Soloviov <mva@mva.name> | 2013-06-14 15:43:35 +0700 |
---|---|---|
committer | Vadim Misbakh-Soloviov <mva@mva.name> | 2013-06-14 15:43:35 +0700 |
commit | af71d07cec1ee89864d915bc9afdef4fc6014154 (patch) | |
tree | 0ef5b02bd3c43a0031863f90aa6e82aa8d0c0d4c /tools | |
parent | 1d84f429784a905c94debc5aa963b7d15a60a22e (diff) | |
download | prosody-af71d07cec1ee89864d915bc9afdef4fc6014154.tar.gz prosody-af71d07cec1ee89864d915bc9afdef4fc6014154.zip |
additional fix for erlparse loading in ejabberd2prosody.lua
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ejabberd2prosody.lua | 1 |
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 |